Spaces:
Runtime error
Runtime error
Create app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
|
| 3 |
+
def echo(message,history): #function to return the history of messages sent
|
| 4 |
+
return message
|
| 5 |
+
|
| 6 |
+
chatbot = gr.ChatInterface(echo)
|
| 7 |
+
# chatbot UI - conversation history and user input
|
| 8 |
+
|
| 9 |
+
chatbot.launch()
|