Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
AriniR
/
ChatBot_Lab
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
c5379e7
ChatBot_Lab
/
app.py
AriniR
Update app.py
c5379e7
verified
11 months ago
raw
Copy download link
history
blame
216 Bytes
import
gradio
as
gr
import
random
def
echo
(message, history):
choices = (
'yes'
,
'no'
)
wow = random.choice(choices)
return
wow
chatbot = gr.ChatInterface(echo)
chatbot.launch()
# repeats messages.