MatteoScript commited on
Commit
3d76f83
·
verified ·
1 Parent(s): 2b0a649

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -415,7 +415,8 @@ def main():
415
  #st.set_page_config(page_title="Import Fatture AI", page_icon="✨")
416
  st.sidebar.title("Caricamento File")
417
  uploaded_files = st.sidebar.file_uploader("Seleziona uno o più PDF", type=["pdf", "jpg", "jpeg", "png"], accept_multiple_files=True)
418
- model_ai = st.sidebar.selectbox("Modello", ['Gemini Flash 2.0', 'Gemini 2.5 Pro', 'Azure Intelligence'])
 
419
  if model_ai == 'Gemini 2.5 Pro':
420
  st.session_state.model = "gemini-2.5-pro-exp-03-25"
421
  use_azure = True if model_ai == 'Azure Intelligence' else False
 
415
  #st.set_page_config(page_title="Import Fatture AI", page_icon="✨")
416
  st.sidebar.title("Caricamento File")
417
  uploaded_files = st.sidebar.file_uploader("Seleziona uno o più PDF", type=["pdf", "jpg", "jpeg", "png"], accept_multiple_files=True)
418
+ model_ai = st.sidebar.selectbox("Modello", ['Gemini Flash 2.0', #'Gemini 2.5 Pro',
419
+ 'Azure Intelligence'])
420
  if model_ai == 'Gemini 2.5 Pro':
421
  st.session_state.model = "gemini-2.5-pro-exp-03-25"
422
  use_azure = True if model_ai == 'Azure Intelligence' else False