Spaces:
Running
Running
alptangall
commited on
Commit
•
57b3c63
1
Parent(s):
067b60e
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def greet(name):
|
|
18 |
return "Hello " + name + "!!"
|
19 |
|
20 |
if __name__ == "__main__":
|
21 |
-
process = subprocess.
|
22 |
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
23 |
demo.launch(server_name="0.0.0.0", server_port=7860)
|
24 |
print('starting')
|
|
|
18 |
return "Hello " + name + "!!"
|
19 |
|
20 |
if __name__ == "__main__":
|
21 |
+
process = subprocess.Popen(['python','/home/user/app/main.py'])
|
22 |
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
23 |
demo.launch(server_name="0.0.0.0", server_port=7860)
|
24 |
print('starting')
|