Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
imseldrith
/
anydlbot
like
0
Build error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
33d6c74
anydlbot
/
app.py
imseldrith
Update app.py
f4ddd31
almost 3 years ago
raw
Copy download link
history
blame
Safe
226 Bytes
import
subprocess
import
gradio
as
gr
import
bot
def
ru
(
hi
):
#print(bot)
print
(
"hi"
+ hi)
return
subprocess.run(
"python3 bot.py"
,shell=
True
)
gr.Interface(fn=ru,inputs=
"text"
,outputs=
"text"
,live=
True
).launch(debug=
True
)