Solar-Iz commited on
Commit
e294354
·
1 Parent(s): c9d4442

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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()['base_url'][0] if 'base_url' in st.experimental_get_query_params() else None
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