Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ def load_description(fp):
|
|
| 13 |
return content
|
| 14 |
|
| 15 |
|
| 16 |
-
@spaces.GPU(duration=
|
| 17 |
def run_theia(image):
|
| 18 |
theia_model = AutoModel.from_pretrained("theaiinstitute/theia-tiny-patch16-224-cddsv", trust_remote_code=True)
|
| 19 |
theia_model = theia_model.to('cuda')
|
|
|
|
| 13 |
return content
|
| 14 |
|
| 15 |
|
| 16 |
+
@spaces.GPU(duration=90)
|
| 17 |
def run_theia(image):
|
| 18 |
theia_model = AutoModel.from_pretrained("theaiinstitute/theia-tiny-patch16-224-cddsv", trust_remote_code=True)
|
| 19 |
theia_model = theia_model.to('cuda')
|