Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -328,7 +328,7 @@ def main():
|
|
| 328 |
st.title("Import Fatture AI ✨")
|
| 329 |
st.sidebar.title("Caricamento File")
|
| 330 |
uploaded_files = st.sidebar.file_uploader("Seleziona uno o più PDF", type=["pdf", "jpg", "jpeg", "png"], accept_multiple_files=True)
|
| 331 |
-
model_ai = st.sidebar.selectbox("Modello", ['Gemini Flash 2.0'
|
| 332 |
use_azure = True if model_ai == 'Azure Intelligence' else False
|
| 333 |
number_pages_split = st.sidebar.slider('Split Pagine', 1, 30, 2)
|
| 334 |
if st.sidebar.button("Importa", type="primary", use_container_width=True):
|
|
|
|
| 328 |
st.title("Import Fatture AI ✨")
|
| 329 |
st.sidebar.title("Caricamento File")
|
| 330 |
uploaded_files = st.sidebar.file_uploader("Seleziona uno o più PDF", type=["pdf", "jpg", "jpeg", "png"], accept_multiple_files=True)
|
| 331 |
+
model_ai = st.sidebar.selectbox("Modello", ['Gemini Flash 2.0']) #'Azure Intelligence'])
|
| 332 |
use_azure = True if model_ai == 'Azure Intelligence' else False
|
| 333 |
number_pages_split = st.sidebar.slider('Split Pagine', 1, 30, 2)
|
| 334 |
if st.sidebar.button("Importa", type="primary", use_container_width=True):
|