Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ def respond(message, history):
|
|
| 11 |
#responses = ["Yes", "No"]
|
| 12 |
#return random.choice(responses)
|
| 13 |
|
| 14 |
-
messages= [{"role": "system", "content": "
|
| 15 |
|
| 16 |
|
| 17 |
if history:
|
|
@@ -24,6 +24,6 @@ def respond(message, history):
|
|
| 24 |
|
| 25 |
return response['choices'][0]['message']['content'].strip()
|
| 26 |
|
| 27 |
-
chatbot = gr.ChatInterface(respond, type="messages", title="
|
| 28 |
|
| 29 |
chatbot.launch()
|
|
|
|
| 11 |
#responses = ["Yes", "No"]
|
| 12 |
#return random.choice(responses)
|
| 13 |
|
| 14 |
+
messages= [{"role": "system", "content": "Nice chat bot."}]
|
| 15 |
|
| 16 |
|
| 17 |
if history:
|
|
|
|
| 24 |
|
| 25 |
return response['choices'][0]['message']['content'].strip()
|
| 26 |
|
| 27 |
+
chatbot = gr.ChatInterface(respond, type="messages", title="Safe Eats", description="Want to find a safe place to eat! Well you have came to the right place!", theme='earneleh/paris')
|
| 28 |
|
| 29 |
chatbot.launch()
|