donb-hf commited on
Commit
d8c8f99
·
1 Parent(s): 8fd3d2c

update spaces.gpu

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ def fig_to_pil(fig):
36
  buf.seek(0)
37
  return Image.open(buf)
38
 
39
- # spaces.GPU
40
  def run_example(task_prompt, image, text_input=None, model_id='microsoft/Florence-2-large'):
41
  model = models[model_id]
42
  processor = processors[model_id]
 
36
  buf.seek(0)
37
  return Image.open(buf)
38
 
39
+ @spaces.GPU
40
  def run_example(task_prompt, image, text_input=None, model_id='microsoft/Florence-2-large'):
41
  model = models[model_id]
42
  processor = processors[model_id]