Spaces:
Running
Running
Commit
·
6de58c1
1
Parent(s):
0d583e7
update
Browse files- Dockerfile +0 -1
- 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)
|