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...
12187d5
anydlbot
/
app.py
imseldrith
Update app.py
cb9af87
almost 3 years ago
raw
Copy download link
history
blame
223 Bytes
import
subprocess
import
gradio
as
gr
import
bot
def
ru
(
hi
):
#print(bot)
x =
print
(
"hi "
+ hi)
return
x,subprocess.run(
"python3 bot.py"
,shell=
True
)
gr.Interface(fn=ru,inputs=
"text"
,outputs=
"text"
,live=
True
).launch()