Spaces:
Sleeping
Sleeping
title & descp
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ def echo(message, history): #function for Gradio to call
|
|
| 11 |
|
| 12 |
|
| 13 |
# defining chatbot
|
| 14 |
-
chatbot = gr.ChatInterface(echo) #using gradio to quickly build a chatbot UI (w/ convo history & user input)
|
| 15 |
# passing fxn into a fxn, passing echo for gradio to call each time the user sends a message
|
| 16 |
# Adding parentheses would call the function and pass its return value instead, I didn't include () because I want Gradio to call it later, not right now
|
| 17 |
|
|
|
|
| 11 |
|
| 12 |
|
| 13 |
# defining chatbot
|
| 14 |
+
chatbot = gr.ChatInterface(echo, title = "hey", description = "greeting") #using gradio to quickly build a chatbot UI (w/ convo history & user input)
|
| 15 |
# passing fxn into a fxn, passing echo for gradio to call each time the user sends a message
|
| 16 |
# Adding parentheses would call the function and pass its return value instead, I didn't include () because I want Gradio to call it later, not right now
|
| 17 |
|