Update app.py
Browse files
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()
|