Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -188,9 +188,10 @@ class RAGInterface:
|
|
188 |
)
|
189 |
|
190 |
# Wrap the interface with custom HTML
|
191 |
-
|
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()
|