Spaces:
Running
Running
Update app.py (#21)
Browse files- Update app.py (e29ccbfe4570aaf16514963113cc913725eeefac)
app.py
CHANGED
|
@@ -92,7 +92,9 @@ def process_model(model_id, q_method,oauth_token: gr.OAuthToken | None):
|
|
| 92 |
raise ValueError("You must be logged in to use MLX-my-repo")
|
| 93 |
|
| 94 |
model_name = model_id.split('/')[-1]
|
|
|
|
| 95 |
username = whoami(oauth_token.token)["name"]
|
|
|
|
| 96 |
|
| 97 |
# login(token=oauth_token.token, add_to_git_credential=True)
|
| 98 |
|
|
|
|
| 92 |
raise ValueError("You must be logged in to use MLX-my-repo")
|
| 93 |
|
| 94 |
model_name = model_id.split('/')[-1]
|
| 95 |
+
print(model_name)
|
| 96 |
username = whoami(oauth_token.token)["name"]
|
| 97 |
+
print(username)
|
| 98 |
|
| 99 |
# login(token=oauth_token.token, add_to_git_credential=True)
|
| 100 |
|