Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -121,5 +121,14 @@ chat_interface = gr.ChatInterface(
|
|
121 |
],
|
122 |
)
|
123 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
124 |
if __name__ == "__main__":
|
125 |
demo.queue(max_size=20).launch()
|
|
|
121 |
],
|
122 |
)
|
123 |
|
124 |
+
with gr.Blocks(css="style.css") as demo:
|
125 |
+
gr.Markdown(DESCRIPTION)
|
126 |
+
gr.DuplicateButton(
|
127 |
+
value="Duplicate Space for private use",
|
128 |
+
elem_id="duplicate-button",
|
129 |
+
visible=os.getenv("SHOW_DUPLICATE_BUTTON") == "1",
|
130 |
+
)
|
131 |
+
chat_interface.render()
|
132 |
+
|
133 |
if __name__ == "__main__":
|
134 |
demo.queue(max_size=20).launch()
|