Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ def main():
|
|
| 6 |
st.title("FastAPI - Streamlit Integration")
|
| 7 |
|
| 8 |
# Получаем базовый URL из streamlit
|
| 9 |
-
base_url = st.experimental_get_query_params()
|
| 10 |
|
| 11 |
image = st.file_uploader("Choose an image", type=['jpg', 'jpeg'])
|
| 12 |
|
|
|
|
| 6 |
st.title("FastAPI - Streamlit Integration")
|
| 7 |
|
| 8 |
# Получаем базовый URL из streamlit
|
| 9 |
+
base_url = st.experimental_get_query_params().get('base_url', [None])[0]
|
| 10 |
|
| 11 |
image = st.file_uploader("Choose an image", type=['jpg', 'jpeg'])
|
| 12 |
|