Spaces:
Sleeping
Sleeping
gfkib gf
Browse files
app.py
CHANGED
|
@@ -5,5 +5,5 @@ def respond_yes_no_randomly(message, history):
|
|
| 5 |
return random.choices(responses) #added here
|
| 6 |
|
| 7 |
print("hELLO World")
|
| 8 |
-
chatbot = gr.ChatInterface(
|
| 9 |
chatbot.launch()
|
|
|
|
| 5 |
return random.choices(responses) #added here
|
| 6 |
|
| 7 |
print("hELLO World")
|
| 8 |
+
chatbot = gr.ChatInterface(respond_yes_no_randomly, type="messages", title="Yes No Bot") #chatbot UI - convo history & user input
|
| 9 |
chatbot.launch()
|