Chris Addis commited on
Commit
f91f43c
·
1 Parent(s): 7938411
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -149,12 +149,9 @@ def create_demo():
149
  label="Select Model",
150
  value="meta-llama/llama-4-maverick:free"
151
  )
152
-
153
-
154
  # Function to check authorization
155
  def check_authorization(profile: gr.OAuthProfile | None):
156
- if profile is None:
157
- return False
158
 
159
  is_authorized = profile.username in AUTHORIZED_USER_IDS
160
  if is_authorized:
@@ -165,7 +162,7 @@ def create_demo():
165
  ("GPT-4.1 (Recommended)", "gpt-4.1"),
166
  ("Claude 3.7 Sonnet", "anthropic/claude-3.7-sonnet"),
167
  ("Gemini 2.5 Pro", "google/gemini-2.5-pro-preview-03-25"),
168
- ("Gemini 2.5 Flash Thinking (Recommended)")
169
  ]
170
 
171
  additional_models = [
 
149
  label="Select Model",
150
  value="meta-llama/llama-4-maverick:free"
151
  )
152
+
 
153
  # Function to check authorization
154
  def check_authorization(profile: gr.OAuthProfile | None):
 
 
155
 
156
  is_authorized = profile.username in AUTHORIZED_USER_IDS
157
  if is_authorized:
 
162
  ("GPT-4.1 (Recommended)", "gpt-4.1"),
163
  ("Claude 3.7 Sonnet", "anthropic/claude-3.7-sonnet"),
164
  ("Gemini 2.5 Pro", "google/gemini-2.5-pro-preview-03-25"),
165
+ ("Gemini 2.5 Flash Thinking (Recommended)","google/gemini-2.5-flash-preview")
166
  ]
167
 
168
  additional_models = [