Hugging Face
Search models, datasets, users...
Ctrl K
Models
Datasets
Spaces
Buckets
Docs
Enterprise
Pricing
More
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:
nclbond
/
kwk-codealong-chatbot
Like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
NBond007
commited on
Apr 19
Commit
ef00111
·
verified
·
1 Parent(s):
8e2c5c9
added echo function for gr.ChatInterface() to call automatically
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
+
3
+
def echo(message, history):
4
+
return message
5
+
6
+
chatbot = gr.ChatInterface(echo)
7
+
chatbot.launch()