Spaces:
Runtime error
Runtime error
yadonglu
commited on
Commit
·
8b5dff8
1
Parent(s):
eb37efa
app.py
CHANGED
|
@@ -41,7 +41,7 @@ OmniParser is a screen parsing tool to convert general GUI screen to structured
|
|
| 41 |
|
| 42 |
DEVICE = torch.device('cuda')
|
| 43 |
|
| 44 |
-
|
| 45 |
# @torch.inference_mode()
|
| 46 |
# @torch.autocast(device_type="cuda", dtype=torch.bfloat16)
|
| 47 |
def process(
|
|
|
|
| 41 |
|
| 42 |
DEVICE = torch.device('cuda')
|
| 43 |
|
| 44 |
+
@spaces.GPU
|
| 45 |
# @torch.inference_mode()
|
| 46 |
# @torch.autocast(device_type="cuda", dtype=torch.bfloat16)
|
| 47 |
def process(
|