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:
mgetz
/
virtual_camp_capstone_example
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
mgetz
commited on
Aug 7, 2025
Commit
71d100c
·
verified
·
1 Parent(s):
f84145b
defined and called the echo function
Browse files
Files changed (1)
hide
show
app.py
+5
-1
app.py
CHANGED
Viewed
@@ -1,4 +1,8 @@
1
import gradio as gr
2
-
chatbot = gr.ChatInterface()
3
4
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()