ejschwartz commited on
Commit
6de58c1
·
1 Parent(s): 0d583e7
Files changed (2) hide show
  1. Dockerfile +0 -1
  2. main.py +1 -1
Dockerfile CHANGED
@@ -30,7 +30,6 @@ USER user
30
  ENV HOME=/home/user \
31
  PATH=/home/user/.local/bin:$PATH
32
 
33
-
34
  # Set the working directory to the user's home directory
35
  WORKDIR $HOME/app
36
 
 
30
  ENV HOME=/home/user \
31
  PATH=/home/user/.local/bin:$PATH
32
 
 
33
  # Set the working directory to the user's home directory
34
  WORKDIR $HOME/app
35
 
main.py CHANGED
@@ -4,4 +4,4 @@ def greet(name):
4
  return "Hello " + name + "!!"
5
 
6
  demo = gr.Interface(fn=greet, inputs="text", outputs="text")
7
- demo.launch()
 
4
  return "Hello " + name + "!!"
5
 
6
  demo = gr.Interface(fn=greet, inputs="text", outputs="text")
7
+ demo.launch(server_name="0.0.0.0", server_port=7860)