multimodalart HF Staff commited on
Commit
532b307
·
verified ·
1 Parent(s): a4fa0be

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -336,7 +336,7 @@ def _decide_impl(screenshot, goal, ax_tree, app, task_family, options_text, moda
336
  return "\n".join(lines)
337
 
338
 
339
- @spaces.GPU(duration=90)
340
  def decide(screenshot, goal, ax_tree, app, task_family, options_text, modality="multimodal", progress=gr.Progress()):
341
  """Score every candidate (element, action) option in one forward pass.
342
 
@@ -357,7 +357,7 @@ def decide(screenshot, goal, ax_tree, app, task_family, options_text, modality="
357
  return _decide_impl(screenshot, goal, ax_tree, app, task_family, options_text, modality, progress)
358
 
359
 
360
- @spaces.GPU(duration=90)
361
  def _example_decide(key, modality="multimodal", progress=gr.Progress()):
362
  """Load a bundled real GUI-360 step into the UI and score it in one pass.
363
 
 
336
  return "\n".join(lines)
337
 
338
 
339
+ @spaces.GPU(duration=30)
340
  def decide(screenshot, goal, ax_tree, app, task_family, options_text, modality="multimodal", progress=gr.Progress()):
341
  """Score every candidate (element, action) option in one forward pass.
342
 
 
357
  return _decide_impl(screenshot, goal, ax_tree, app, task_family, options_text, modality, progress)
358
 
359
 
360
+ @spaces.GPU(duration=30)
361
  def _example_decide(key, modality="multimodal", progress=gr.Progress()):
362
  """Load a bundled real GUI-360 step into the UI and score it in one pass.
363