Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -60,6 +60,8 @@ with gr.Blocks() as demo:
|
|
| 60 |
with gr.Sidebar():
|
| 61 |
gr.LoginButton()
|
| 62 |
|
|
|
|
|
|
|
| 63 |
# Define a button outside ChatInterface (but visually below)
|
| 64 |
clear_button = gr.Button("🧹 Clear Chat", variant="secondary")
|
| 65 |
|
|
@@ -69,7 +71,6 @@ with gr.Blocks() as demo:
|
|
| 69 |
inputs=None,
|
| 70 |
outputs=chatbot
|
| 71 |
)
|
| 72 |
-
chatbot.render()
|
| 73 |
|
| 74 |
|
| 75 |
if __name__ == "__main__":
|
|
|
|
| 60 |
with gr.Sidebar():
|
| 61 |
gr.LoginButton()
|
| 62 |
|
| 63 |
+
chatbot.render()
|
| 64 |
+
|
| 65 |
# Define a button outside ChatInterface (but visually below)
|
| 66 |
clear_button = gr.Button("🧹 Clear Chat", variant="secondary")
|
| 67 |
|
|
|
|
| 71 |
inputs=None,
|
| 72 |
outputs=chatbot
|
| 73 |
)
|
|
|
|
| 74 |
|
| 75 |
|
| 76 |
if __name__ == "__main__":
|