Cartinoe5930 commited on
Commit
42e9076
1 Parent(s): 709abca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -73,11 +73,11 @@ def warmup(model_list=warmup_test, model_inference_endpoints=inference_endpoint)
73
  welcome_message: gr.update(visible=True)
74
  }
75
 
76
- def inference(model_list, question, API_KEY, cot, HF_TOKEN=HF_TOKEN):
77
  if len(model_list) != 3:
78
  raise gr.Error("Please choose just '3' models! Neither more nor less!")
79
 
80
- model_response = Inference(model_list, question, API_KEY, cot, HF_TOKEN=HF_TOKEN)
81
 
82
  return {
83
  output_msg: gr.update(visible=True),
 
73
  welcome_message: gr.update(visible=True)
74
  }
75
 
76
+ def inference(model_list, question, API_KEY, cot, hf_token=HF_TOKEN):
77
  if len(model_list) != 3:
78
  raise gr.Error("Please choose just '3' models! Neither more nor less!")
79
 
80
+ model_response = Inference(model_list, question, API_KEY, cot, hf_token)
81
 
82
  return {
83
  output_msg: gr.update(visible=True),