Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,13 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
#import lines go at the top. Any libraries I needa import, go up here^^
|
| 3 |
|
| 4 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
chatbot = gr.ChatInterface()
|
| 6 |
|
| 7 |
#we are launching our chatbot
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
#import lines go at the top. Any libraries I needa import, go up here^^
|
| 3 |
|
| 4 |
+
#we are coding a function that our chatbot will be able to run
|
| 5 |
+
#if you say hello, the chatbot says hello back
|
| 6 |
+
def echo(message, history):
|
| 7 |
+
return message
|
| 8 |
+
|
| 9 |
+
#defining my chatbot so that the user can inteact and see their conversation...
|
| 10 |
+
#history and send new messages
|
| 11 |
chatbot = gr.ChatInterface()
|
| 12 |
|
| 13 |
#we are launching our chatbot
|