bryan-stearns
commited on
Commit
·
75e5e79
1
Parent(s):
2b7acff
Fixing Docker issue
Browse files- Dockerfile +0 -1
- gradio_app.py +1 -1
Dockerfile
CHANGED
@@ -27,7 +27,6 @@ COPY . .
|
|
27 |
|
28 |
USER root
|
29 |
RUN chmod 777 ~/app/*
|
30 |
-
# RUN chmod 777 ~app/data/*
|
31 |
USER user
|
32 |
|
33 |
EXPOSE 7860 7860
|
|
|
27 |
|
28 |
USER root
|
29 |
RUN chmod 777 ~/app/*
|
|
|
30 |
USER user
|
31 |
|
32 |
EXPOSE 7860 7860
|
gradio_app.py
CHANGED
@@ -40,6 +40,6 @@ def run_soar(cmd):
|
|
40 |
|
41 |
gr.Interface(fn=run_soar,
|
42 |
inputs=["text"],
|
43 |
-
outputs=["text"]).launch(inbrowser=True, server_port=7860)
|
44 |
|
45 |
soar_agent.kill()
|
|
|
40 |
|
41 |
gr.Interface(fn=run_soar,
|
42 |
inputs=["text"],
|
43 |
+
outputs=["text"]).launch(inbrowser=True, server_name="0.0.0.0", server_port=7860)
|
44 |
|
45 |
soar_agent.kill()
|