Artples commited on
Commit
3655f73
·
verified ·
1 Parent(s): d77a5d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -12
app.py CHANGED
@@ -168,19 +168,7 @@ chat_interface = gr.ChatInterface(
168
  ],
169
  )
170
 
171
- # Load external CSS from styles.css and inject it as an HTML <style> block
172
- custom_css = ""
173
- css_path = "styles.css"
174
- if os.path.exists(css_path):
175
- try:
176
- with open(css_path, encoding="utf-8") as f:
177
- custom_css = f"<style>{f.read()}</style>"
178
- except Exception:
179
- custom_css = ""
180
-
181
  with gr.Blocks() as demo:
182
- if custom_css:
183
- gr.HTML(custom_css)
184
  gr.Markdown(DESCRIPTION)
185
  chat_interface.render()
186
 
 
168
  ],
169
  )
170
 
 
 
 
 
 
 
 
 
 
 
171
  with gr.Blocks() as demo:
 
 
172
  gr.Markdown(DESCRIPTION)
173
  chat_interface.render()
174