AI-RESEARCHER-2024 commited on
Commit
0dc1b89
·
verified ·
1 Parent(s): 6964868

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -188,9 +188,10 @@ class RAGInterface:
188
  )
189
 
190
  # Wrap the interface with custom HTML
191
- return gr.Blocks() as wrapped_demo:
192
  gr.HTML(header_html)
193
  demo.render()
 
194
 
195
  def main():
196
  interface = RAGInterface()
 
188
  )
189
 
190
  # Wrap the interface with custom HTML
191
+ with gr.Blocks(css=custom_css, html=header_html) as wrapper:
192
  gr.HTML(header_html)
193
  demo.render()
194
+ return wrapper
195
 
196
  def main():
197
  interface = RAGInterface()