Spaces:
Sleeping
Sleeping
Updated the chat interface type and testing out logs
Browse files
app.py
CHANGED
|
@@ -4,6 +4,8 @@ import gradio as gr # imports the gradio library
|
|
| 4 |
def echo(message, history):
|
| 5 |
return message
|
| 6 |
|
| 7 |
-
|
|
|
|
|
|
|
| 8 |
|
| 9 |
chatbot.launch() # lauches chatbot
|
|
|
|
| 4 |
def echo(message, history):
|
| 5 |
return message
|
| 6 |
|
| 7 |
+
print("Hello world!") #prints in the logs
|
| 8 |
+
|
| 9 |
+
chatbot = gr.ChatInterface(echo, type="messages") # chatbout ui - history & input
|
| 10 |
|
| 11 |
chatbot.launch() # lauches chatbot
|