Spaces:
Build error
Build error
Commit
·
0105396
1
Parent(s):
0192f7e
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import subprocess
|
2 |
+
import gradio as gr
|
3 |
+
def r(hi):
|
4 |
+
x = hi + " hiiii!"
|
5 |
+
return x,subprocess.run("python3 main.py",shell=True)
|
6 |
+
|
7 |
+
gr.Interface(fn=r, inputs="text",outputs=["text","text"],live=True).launch(debug=True)
|