yjernite HF Staff commited on
Commit
ca14219
·
verified ·
1 Parent(s): cbd83e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ def handle_run_test(test_input, current_policy, model_choice, reasoning_effort,
39
  hf_token, _ = get_hf_token(oauth_token)
40
  if hf_token is None:
41
  model_info = format_model_info(model_choice, reasoning_effort)
42
- return model_info, "*Please log in or set HF_TOKEN_MLSOC in .env*", "*Authentication required*", "*No response yet*", gr.update(value="", visible=False), gr.update(value="", visible=False)
43
 
44
  model_id = extract_model_id(model_choice)
45
 
 
39
  hf_token, _ = get_hf_token(oauth_token)
40
  if hf_token is None:
41
  model_info = format_model_info(model_choice, reasoning_effort)
42
+ return model_info, "*Please log in to use Inference Providers*", "*Authentication required*", "*No response yet*", gr.update(value="", visible=False), gr.update(value="", visible=False)
43
 
44
  model_id = extract_model_id(model_choice)
45