Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
mingbaer
/
Chatbot_Lab_Lesson
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
mingbaer
commited on
Apr 28, 2025
Commit
c68e2be
·
verified
·
1 Parent(s):
4aee7c4
Created working echo chatbot
Browse files
Files changed (1)
hide
show
app.py
+4
-1
app.py
CHANGED
Viewed
@@ -1,5 +1,8 @@
1
import gradio as gr
2
3
-
chatbot
= gr.ChatInterface
()
4
5
chatbot.launch()
1
import gradio as gr
2
3
+
def
echo
(
message, history
)
:
4
+
return message
5
+
6
+
chatbot = gr.ChatInterface(echo)
7
8
chatbot.launch()