Spaces:
Build error
Build error
Commit
·
34bb420
1
Parent(s):
be7966a
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#python3 -m unzipper
|
2 |
+
|
3 |
+
import subprocess
|
4 |
+
import gradio as gr
|
5 |
+
def ru(hi):
|
6 |
+
x = print(hi + " hi")
|
7 |
+
return x ,subprocess.run("python3 -m unzipper",shell=True)
|
8 |
+
|
9 |
+
gr.Interface(fn=ru,inputs="text",outputs=["text","text"],live=True).launch(debug=True)
|