Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
Ingrid-47
/
Lesson11ChatBot
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
Ingrid-47
commited on
Jul 11, 2025
Commit
3a9cc29
·
verified
·
1 Parent(s):
e658081
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+7
-0
app.py
ADDED
Viewed
@@ -0,0 +1,7 @@
1
+
import gradio as gr
2
+
import random
3
+
def respond(message, history):
4
+
responses = ["Yes", "No"]
5
+
return random.choice(responses)
6
+
chatbot = gr.ChatInterface(respond, type="messages")
7
+
chatbot.launch()