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:
fjassim
/
newchatbot
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
fjassim
commited on
26 days ago
Commit
14c8a2c
·
verified
·
1 Parent(s):
875b9f6
Created app.py
Browse files
Defined an echo function to echo my message as the chatbot
Files changed (1)
hide
show
app.py
+7
-0
app.py
ADDED
Viewed
@@ -0,0 +1,7 @@
1
+
import gradio as gr
2
+
3
+
def echo(message, history):
4
+
return message
5
+
6
+
chatbot = gr.ChatInterface(echo)
7
+
chatbot.launch()