AI-RESEARCHER-2024 commited on
Commit
e222e13
·
verified ·
1 Parent(s): c61718b

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(css=custom_css) 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
+ gr.Blocks(css=custom_css) as wrapped_demo:
192
  gr.HTML(header_html)
193
  demo.render()
194
+ return wrapped_demo
195
 
196
  def main():
197
  interface = RAGInterface()