Spaces:
Running
on
L4
Running
on
L4
trying to get login button to work
Browse files
app.py
CHANGED
@@ -69,7 +69,7 @@ QUANTIZATIONS = ["q0f16",
|
|
69 |
"q4f32_1",
|
70 |
"q4f16_awq"]
|
71 |
|
72 |
-
def button_click(hf_model_id, conv_template, quantization, oauth_token: gr.OAuthToken | None):
|
73 |
if not oauth_token.token:
|
74 |
raise ValueError("Log in to Huggingface to use this")
|
75 |
|
|
|
69 |
"q4f32_1",
|
70 |
"q4f16_awq"]
|
71 |
|
72 |
+
def button_click(profile: gr.OAuthProfile | None, hf_model_id, conv_template, quantization, oauth_token: gr.OAuthToken | None):
|
73 |
if not oauth_token.token:
|
74 |
raise ValueError("Log in to Huggingface to use this")
|
75 |
|