Spaces:
Sleeping
Sleeping
initial commit
Browse files
app.py
ADDED
|
@@ -0,0 +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 |
+
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.launch()
|