Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
yash33123
/
model
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
model
/
app.py
yash33123
Update app.py
d06af2b
verified
7 months ago
raw
Copy download link
history
blame
contribute
delete
Safe
187 Bytes
import
gradio
as
gr
import
random
def
random_response
(
message, history
):
return
random.choice([
"Yes"
,
"No"
])
gr.ChatInterface(
fn=random_response,
type
=
"messages"
).launch()