Spaces:
Sleeping
Sleeping
added title
Browse files
app.py
CHANGED
|
@@ -117,14 +117,10 @@ def respond(message,history):
|
|
| 117 |
return response['choices'][0]['message']['content'].strip()
|
| 118 |
|
| 119 |
|
| 120 |
-
chatbot = gr.ChatInterface(
|
|
|
|
|
|
|
|
|
|
| 121 |
#defining my chatbot so user can interact, see their conversation and send new messages
|
| 122 |
|
| 123 |
chatbot.launch()
|
| 124 |
-
|
| 125 |
-
print("Hello World")
|
| 126 |
-
chatbot = gr.ChatInterface(
|
| 127 |
-
respond,
|
| 128 |
-
title="Skin Chatbot!",
|
| 129 |
-
type="messages"
|
| 130 |
-
)
|
|
|
|
| 117 |
return response['choices'][0]['message']['content'].strip()
|
| 118 |
|
| 119 |
|
| 120 |
+
chatbot = gr.ChatInterface(
|
| 121 |
+
respond,
|
| 122 |
+
title="Skin Chatbot!",
|
| 123 |
+
type='messages')
|
| 124 |
#defining my chatbot so user can interact, see their conversation and send new messages
|
| 125 |
|
| 126 |
chatbot.launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|