yuvalkirstain commited on
Commit
e4993da
1 Parent(s): 46535f9

try to change path to relative one

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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'{os.path.dirname(__file__)}/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
 
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