upload
Browse files- .streamlit/config.toml +4 -0
- Dockerfile +1 -1
.streamlit/config.toml
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[server]
|
| 2 |
+
port = 7860
|
| 3 |
+
enableXsrfProtection = false
|
| 4 |
+
gatherUsageStats = false
|
Dockerfile
CHANGED
|
@@ -35,5 +35,5 @@ RUN ./serve_grobid.sh
|
|
| 35 |
RUN python backend.py &
|
| 36 |
|
| 37 |
# Run the command to start the streamlit app
|
| 38 |
-
CMD ["streamlit", "run", "frontend.py", "--server.address", "0.0.0.0", "--server.port", "7860"]
|
| 39 |
|
|
|
|
| 35 |
RUN python backend.py &
|
| 36 |
|
| 37 |
# Run the command to start the streamlit app
|
| 38 |
+
CMD ["streamlit", "run", "frontend.py", "--server.address", "0.0.0.0", "--server.port", "7860", "--server.enableCORS", "true", "--server.enableXsrfProtection", "false"]
|
| 39 |
|