Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Arafath10
/
chatcode
like
5
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
f48d575
chatcode
/
app.py
Arafath10
Update app.py
f48d575
over 2 years ago
raw
Copy download link
history
blame
224 Bytes
import
gradio
as
gr
from
chatterbot
import
ChatBot
from
chatterbot.trainers
import
ListTrainer
def
greet
(
name
):
return
"Hello "
+ name +
"!!"
iface = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
iface.launch()