Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,6 +42,8 @@ def respond(message, history):
|
|
| 42 |
|
| 43 |
#return response ['choices'][0]['message']['content'].strip()
|
| 44 |
|
| 45 |
-
|
|
|
|
|
|
|
| 46 |
|
| 47 |
chatbot.launch(debug=True)
|
|
|
|
| 42 |
|
| 43 |
#return response ['choices'][0]['message']['content'].strip()
|
| 44 |
|
| 45 |
+
with gr.Blocks (theme = theme) as chatbot:
|
| 46 |
+
chatbot = gr.ChatInterface(respond, type = "messages")
|
| 47 |
+
#chatbot = gr.ChatInterface(respond, type = "messages") #theme = "shivi/calm_seafoam")
|
| 48 |
|
| 49 |
chatbot.launch(debug=True)
|