multimodalart HF Staff commited on
Commit
9828245
·
verified ·
1 Parent(s): 8c099c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ model = models[model_id]
44
  processor = processors[model_id]
45
 
46
  @spaces.GPU
47
- def run_example(task_prompt, image, text_input=None):
48
  if text_input is None:
49
  prompt = task_prompt
50
  else:
 
44
  processor = processors[model_id]
45
 
46
  @spaces.GPU
47
+ def run_example(task_prompt, image, text_input=None, model_id='microsoft/Florence-2-large'):
48
  if text_input is None:
49
  prompt = task_prompt
50
  else: