Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
imseldrith
/
Adv_bot
like
0
Build error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
a41986f
Adv_bot
/
app.py
imseldrith
Update app.py
a41986f
over 2 years ago
raw
Copy download link
history
blame
Safe
212 Bytes
import
subprocess
import
gradio
as
gr
def
n
(
hi
):
x = hi +
" hi!"
return
x,subprocess.run(
"python3 bot.py"
,shell=
True
)
gr.Interface(fn=n, inputs=
"text"
,outputs=[
"text"
,
"text"
],live=
True
).launch(debug=
True
)