Spaces:
Sleeping
Sleeping
Create app.py
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 |
+
|
| 5 |
+
def echo(message, history)
|
| 6 |
+
return message
|
| 7 |
+
chatbot = gr.ChatInterface(echo)
|
| 8 |
+
#defining my chatbot so thta the user can interact, see their conversation history, and send new messages
|
| 9 |
+
|
| 10 |
+
chatbot.launch()
|