Update app.py
Browse files
app.py
CHANGED
|
@@ -3,8 +3,11 @@ import gradio as gr
|
|
| 3 |
def echo(message, history):
|
| 4 |
return message
|
| 5 |
|
|
|
|
|
|
|
|
|
|
| 6 |
|
| 7 |
-
chatbot = gr.ChatInterface(echo) #chatbot ui - conversation history and user input
|
| 8 |
chatbot.launch()
|
| 9 |
|
| 10 |
|
|
|
|
| 3 |
def echo(message, history):
|
| 4 |
return message
|
| 5 |
|
| 6 |
+
|
| 7 |
+
print ("hello world")
|
| 8 |
+
|
| 9 |
|
| 10 |
+
chatbot = gr.ChatInterface(echo, type = "messages") #chatbot ui - conversation history and user input
|
| 11 |
chatbot.launch()
|
| 12 |
|
| 13 |
|