Chris Addis commited on
Commit ·
3883e70
1
Parent(s): e9a730f
OAuth
Browse files
app.py
CHANGED
|
@@ -155,8 +155,7 @@ def create_demo():
|
|
| 155 |
# Left column: Controls and uploads
|
| 156 |
with gr.Column(scale=1):
|
| 157 |
|
| 158 |
-
|
| 159 |
-
|
| 160 |
# Function to check authorization
|
| 161 |
def check_authorization(profile: gr.OAuthProfile | None):
|
| 162 |
if profile is None:
|
|
@@ -177,7 +176,7 @@ def create_demo():
|
|
| 177 |
|
| 178 |
# Define preferred and additional models directly in the function
|
| 179 |
preferred_models = [
|
| 180 |
-
("
|
| 181 |
]
|
| 182 |
|
| 183 |
all_models_list = preferred_models
|
|
|
|
| 155 |
# Left column: Controls and uploads
|
| 156 |
with gr.Column(scale=1):
|
| 157 |
|
| 158 |
+
##########################################################################
|
|
|
|
| 159 |
# Function to check authorization
|
| 160 |
def check_authorization(profile: gr.OAuthProfile | None):
|
| 161 |
if profile is None:
|
|
|
|
| 176 |
|
| 177 |
# Define preferred and additional models directly in the function
|
| 178 |
preferred_models = [
|
| 179 |
+
("Llama 4 Maverick (free)", "meta-llama/llama-4-maverick:free")
|
| 180 |
]
|
| 181 |
|
| 182 |
all_models_list = preferred_models
|