Spaces:
Runtime error
Runtime error
go2sujeet
commited on
Commit
·
24f910c
1
Parent(s):
f43168f
Update app.launch() parameters in main.py
Browse files- Makefile +8 -0
- src/main.py +1 -1
Makefile
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
say_hello:
|
2 |
+
echo "Hello, World!"
|
3 |
+
run_local:
|
4 |
+
python src/main.py
|
5 |
+
build_docker_image:
|
6 |
+
docker build -t my-gradio-parking . --no-cache
|
7 |
+
run_docker_image:
|
8 |
+
docker run -p 8080:8080 my-gradio-parking
|
src/main.py
CHANGED
@@ -39,4 +39,4 @@ with gr.Blocks() as app:
|
|
39 |
|
40 |
|
41 |
if __name__ == "__main__":
|
42 |
-
app.launch()
|
|
|
39 |
|
40 |
|
41 |
if __name__ == "__main__":
|
42 |
+
app.launch(server_port=8080, debug=True,inbrowser = True)
|