Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
aliriaz2k16
/
sample_chatbot
like
0
Sleeping
App
Files
Files
Community
aliriaz2k16
commited on
May 12
Commit
1462cbc
•
1 Parent(s):
09dc194
Create app.py
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
+
demo = gr.ChatInterface(fn=echo, examples=["hello", "hola", "merhaba"], title="Echo Bot")
7
+
demo.launch()