Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
ewingreen
/
training-kwk-chatbot
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
ewingreen
commited on
Apr 22, 2025
Commit
35bd2b8
·
verified
·
1 Parent(s):
d0386c5
Define echo function and set up ChatInterface
Browse files
Files changed (1)
hide
show
app.py
+7
-0
app.py
CHANGED
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()