Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ chatbot = ChatBot("Chatpot")
|
|
| 7 |
|
| 8 |
def greet(name):
|
| 9 |
text = chatbot.get_response(name)
|
| 10 |
-
return "Hello " + text + "!!"
|
| 11 |
|
| 12 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 13 |
iface.launch()
|
|
|
|
| 7 |
|
| 8 |
def greet(name):
|
| 9 |
text = chatbot.get_response(name)
|
| 10 |
+
return "Hello " + str(text) + "!!"
|
| 11 |
|
| 12 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 13 |
iface.launch()
|