Update app.py
Browse files
app.py
CHANGED
@@ -84,8 +84,8 @@ def main(user):
|
|
84 |
# if chatbot_commands(PROMPT):
|
85 |
# continue
|
86 |
response = chatbot.ask(PROMPT)
|
87 |
-
|
88 |
-
|
89 |
|
90 |
iface = gr.Interface(fn=main, inputs="text", outputs="text")
|
91 |
iface.launch()
|
|
|
84 |
# if chatbot_commands(PROMPT):
|
85 |
# continue
|
86 |
response = chatbot.ask(PROMPT)
|
87 |
+
response = "John: " + response["choices"][0]["text"]
|
88 |
+
return response
|
89 |
|
90 |
iface = gr.Interface(fn=main, inputs="text", outputs="text")
|
91 |
iface.launch()
|