Update src/streamlit_app.py
Browse files- src/streamlit_app.py +3 -3
src/streamlit_app.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
-
#
|
| 2 |
-
#
|
| 3 |
import streamlit as st
|
| 4 |
import requests
|
| 5 |
import re
|
|
@@ -10,7 +10,7 @@ import json
|
|
| 10 |
from huggingface_hub import InferenceClient
|
| 11 |
|
| 12 |
# ============================================
|
| 13 |
-
# STREAMLIT PERMISSION
|
| 14 |
# ============================================
|
| 15 |
TEMP_STREAMLIT_HOME = os.path.join(tempfile.gettempdir(), "st_config_workaround")
|
| 16 |
os.makedirs(TEMP_STREAMLIT_HOME, exist_ok=True)
|
|
|
|
| 1 |
+
# under MIT + ESOL v.1.0
|
| 2 |
+
# Source https://github.com/VolkanSah/Check-Git-ML-Repo-Analyzer
|
| 3 |
import streamlit as st
|
| 4 |
import requests
|
| 5 |
import re
|
|
|
|
| 10 |
from huggingface_hub import InferenceClient
|
| 11 |
|
| 12 |
# ============================================
|
| 13 |
+
# STREAMLIT PERMISSION HACK by VolkanSah :D
|
| 14 |
# ============================================
|
| 15 |
TEMP_STREAMLIT_HOME = os.path.join(tempfile.gettempdir(), "st_config_workaround")
|
| 16 |
os.makedirs(TEMP_STREAMLIT_HOME, exist_ok=True)
|