Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,10 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
# import lines go at the top! Any libraries i need to import go up here ^^
|
| 3 |
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
| 5 |
# defining my chatbot so that the user can interact and see their conversation history and send new messages
|
| 6 |
|
| 7 |
chatbot.lauch()
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
# import lines go at the top! Any libraries i need to import go up here ^^
|
| 3 |
|
| 4 |
+
def echo(message,history):
|
| 5 |
+
return message
|
| 6 |
+
|
| 7 |
+
chatbot = gr.ChatInterface(echo)
|
| 8 |
# defining my chatbot so that the user can interact and see their conversation history and send new messages
|
| 9 |
|
| 10 |
chatbot.lauch()
|