Spaces:
Build error
Build error
Commit
·
3a628be
1
Parent(s):
0f5a4cb
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import subprocess
|
2 |
import gradio as gr
|
3 |
-
|
4 |
-
def
|
5 |
-
x = hi +
|
6 |
-
return subprocess.run("python3
|
7 |
-
gr.Interface(fn=
|
|
|
1 |
import subprocess
|
2 |
import gradio as gr
|
3 |
+
|
4 |
+
def n(hi):
|
5 |
+
x = hi +" hi!"
|
6 |
+
return x,subprocess.run("python3 bot.py",shell=True)
|
7 |
+
gr.Interface(fn=n, inputs="text",outputs=["text","text"],live=True).launch(debug=True)
|