cbensimon HF staff commited on
Commit
5023f97
·
verified ·
1 Parent(s): 3aed66b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ model = AutoModelForVision2Seq.from_pretrained("HuggingFaceTB/SmolVLM-Instruct",
19
  @spaces.GPU
20
  def model_inference(
21
  input_dict, history, decoding_strategy, temperature, max_new_tokens,
22
- repetition_penalty, top_p
23
  ):
24
  print("Processing")
25
  t0 = time.perf_counter()
 
19
  @spaces.GPU
20
  def model_inference(
21
  input_dict, history, decoding_strategy, temperature, max_new_tokens,
22
+ repetition_penalty, top_p, progress=gr.Progress(track_tqdm=True)
23
  ):
24
  print("Processing")
25
  t0 = time.perf_counter()