reach-vb HF staff commited on
Commit
489798a
1 Parent(s): 8e74712
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -18,12 +18,10 @@ from textwrap import dedent
18
 
19
  HF_TOKEN = os.environ.get("HF_TOKEN")
20
 
21
-
22
  def process_model(model_id, q_method, private_repo, oauth_token: gr.OAuthToken | None):
23
  if oauth_token.token is None:
24
- raise ValueError("You must be logged in to use GGUF-my-repo")
25
  model_name = model_id.split('/')[-1]
26
- fp16 = f"{model_name}.fp16.gguf"
27
 
28
  try:
29
  api = HfApi(token=oauth_token.token)
 
18
 
19
  HF_TOKEN = os.environ.get("HF_TOKEN")
20
 
 
21
  def process_model(model_id, q_method, private_repo, oauth_token: gr.OAuthToken | None):
22
  if oauth_token.token is None:
23
+ raise ValueError("You must be logged in to use mlx-my-repo")
24
  model_name = model_id.split('/')[-1]
 
25
 
26
  try:
27
  api = HfApi(token=oauth_token.token)