Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ def fig_to_pil(fig):
|
|
37 |
return Image.open(buf)
|
38 |
|
39 |
@spaces.GPU
|
40 |
-
def run_example(task_prompt, image, text_input=None, model_id='
|
41 |
model = models[model_id]
|
42 |
processor = processors[model_id]
|
43 |
if text_input is None:
|
|
|
37 |
return Image.open(buf)
|
38 |
|
39 |
@spaces.GPU
|
40 |
+
def run_example(task_prompt, image, text_input=None, model_id='J-LAB/Florence-Idesire'):
|
41 |
model = models[model_id]
|
42 |
processor = processors[model_id]
|
43 |
if text_input is None:
|