Levin-Aleksey commited on
Commit
370f9e0
·
1 Parent(s): 3c258d3
Files changed (4) hide show
  1. .streamlit/config.toml +1 -1
  2. Dockerfile +1 -1
  3. streamlit_output.log +1 -0
  4. test_run.log +8 -0
.streamlit/config.toml CHANGED
@@ -1,7 +1,7 @@
1
  [server]
2
  port = 7860
3
  address = "0.0.0.0"
4
- enableCORS = false
5
  enableXsrfProtection = false
6
  enableWebsocketCompression = false
7
  headless = true
 
1
  [server]
2
  port = 7860
3
  address = "0.0.0.0"
4
+ enableCORS = true
5
  enableXsrfProtection = false
6
  enableWebsocketCompression = false
7
  headless = true
Dockerfile CHANGED
@@ -7,4 +7,4 @@ RUN chmod -R 777 /app
7
  # Hugging Face Spaces ВСЕГДА слушает порт 7860
8
  EXPOSE 7860
9
  # Эта команда — ключ к успеху. Без этих флагов будет "вечная загрузка"
10
- CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.enableCORS=false", "--server.enableXsrfProtection=false", "--server.enableWebsocketCompression=false", "--server.headless=true"]
 
7
  # Hugging Face Spaces ВСЕГДА слушает порт 7860
8
  EXPOSE 7860
9
  # Эта команда — ключ к успеху. Без этих флагов будет "вечная загрузка"
10
+ CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.enableCORS=true", "--server.enableXsrfProtection=false", "--server.enableWebsocketCompression=false", "--server.headless=true"]
streamlit_output.log CHANGED
@@ -6,3 +6,4 @@
6
  External URL: http://109.252.49.171:7861
7
 
8
  2026-03-22 12:33:21.263 An update to the [server] config option section was detected. To have these changes be reflected, please restart streamlit.
 
 
6
  External URL: http://109.252.49.171:7861
7
 
8
  2026-03-22 12:33:21.263 An update to the [server] config option section was detected. To have these changes be reflected, please restart streamlit.
9
+ 2026-03-22 12:53:19.765 An update to the [server] config option section was detected. To have these changes be reflected, please restart streamlit.
test_run.log ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+
2
+ You can now view your Streamlit app in your browser.
3
+
4
+ Local URL: http://localhost:8501
5
+ Network URL: http://192.168.1.77:8501
6
+ External URL: http://109.252.49.171:8501
7
+
8
+ 2026-03-22 12:53:19.815 An update to the [server] config option section was detected. To have these changes be reflected, please restart streamlit.