AMKCode commited on
Commit
257411c
1 Parent(s): 296c8d1

trying to get login button to work

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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