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