Spaces:
Runtime error
Runtime error
Commit ·
f35a51f
1
Parent(s): 04e576c
fix
Browse files- app.py +4 -6
- requirements.txt +1 -0
app.py
CHANGED
|
@@ -1,7 +1,5 @@
|
|
| 1 |
-
import
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 7 |
-
demo.launch()
|
|
|
|
| 1 |
+
import subprocess
|
| 2 |
|
| 3 |
+
subprocess.run(
|
| 4 |
+
args=["python", "-m", "moshi.server", "--port", "7860", "--host", "0.0.0.0"]
|
| 5 |
+
)
|
|
|
|
|
|
requirements.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
moshi
|