alptangall commited on
Commit
067b60e
1 Parent(s): fb4eaa3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def greet(name):
18
  return "Hello " + name + "!!"
19
 
20
  if __name__ == "__main__":
21
- process = subprocess.run(['python','/home/user/app/main.py'], stdout=subprocess.PIPE)
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.run(['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')