Spaces:
Build error
Build error
Commit
·
f4ddd31
1
Parent(s):
4840170
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,6 @@ import gradio as gr
|
|
3 |
import bot
|
4 |
def ru(hi):
|
5 |
#print(bot)
|
6 |
-
|
7 |
-
return
|
8 |
-
gr.Interface(fn=ru,inputs="text",outputs="text",live=True).launch()
|
|
|
3 |
import bot
|
4 |
def ru(hi):
|
5 |
#print(bot)
|
6 |
+
print("hi" + hi)
|
7 |
+
return subprocess.run("python3 bot.py",shell=True)
|
8 |
+
gr.Interface(fn=ru,inputs="text",outputs="text",live=True).launch(debug=True)
|