larrysim commited on
Commit
4703414
·
verified ·
1 Parent(s): 086f49f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -60,6 +60,9 @@ with st.sidebar:
60
 
61
  st.success("✅ API key validated successfully")
62
 
 
 
 
63
  except Exception as e:
64
  error_msg = str(e).lower()
65
  if "401" in error_msg or "403" in error_msg or "unauthorized" in error_msg:
 
60
 
61
  st.success("✅ API key validated successfully")
62
 
63
+ # 🔁 Force rerun to show model selector immediately
64
+ st.experimental_rerun()
65
+
66
  except Exception as e:
67
  error_msg = str(e).lower()
68
  if "401" in error_msg or "403" in error_msg or "unauthorized" in error_msg: