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