Tonic commited on
Commit
42903de
1 Parent(s): f7565c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -96,7 +96,7 @@ def eval_model(args, model_name = model_name, model_path = model_path):
96
  ans_file.flush()
97
  ans_file.close()
98
 
99
- def gradio_wrapper( model_path = model_path , model_name = model_name, image_folder, question_file, answers_file, conv_mode, num_chunks, chunk_idx, temperature, top_p, num_beams):
100
 
101
  question_file_path = os.path.join(tempfile.mkdtemp(), "question.jsonl")
102
  with open(question_file_path, "w") as f:
 
96
  ans_file.flush()
97
  ans_file.close()
98
 
99
+ def gradio_wrapper( image_folder, question_file, answers_file, conv_mode, num_chunks, chunk_idx, temperature, top_p, num_beams, model_path = model_path , model_name = model_name):
100
 
101
  question_file_path = os.path.join(tempfile.mkdtemp(), "question.jsonl")
102
  with open(question_file_path, "w") as f: