Spaces:
Running on Zero
Running on Zero
Upload app.py with huggingface_hub
Browse files
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=
|
| 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=
|
| 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 |
|