Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Caslow
/
testing
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
a6d228d
testing
/
app.py
Caslow
e
a6d228d
10 months ago
raw
Copy download link
history
blame
Safe
199 Bytes
import
gradio
as
gr
import
random
def
random_response
(
message, history
):
return
random.choice([
'y'
,
'n'
])
if
__name__ ==
"__main__"
:
demo = gr.ChatInterface(random_response)
demo.launch()