Spaces:
Runtime error
Runtime error
Commit
·
e4993da
1
Parent(s):
46535f9
try to change path to relative one
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from glob import glob
|
|
5 |
import torch
|
6 |
from transformers import AutoModel, AutoProcessor
|
7 |
|
8 |
-
DEFAULT_EXAMPLE_PATH = f'
|
9 |
|
10 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
11 |
weight_dtype = torch.bfloat16 if device == "cuda" else torch.float32
|
|
|
5 |
import torch
|
6 |
from transformers import AutoModel, AutoProcessor
|
7 |
|
8 |
+
DEFAULT_EXAMPLE_PATH = f'examples/example_0'
|
9 |
|
10 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
11 |
weight_dtype = torch.bfloat16 if device == "cuda" else torch.float32
|