Spaces:
Runtime error
Runtime error
mhamilton723
commited on
Commit
•
e6c364b
1
Parent(s):
4dad5d2
fixing cache
Browse files
app.py
CHANGED
@@ -70,6 +70,7 @@ if __name__ == "__main__":
|
|
70 |
print(f"{filename} already exists. Skipping download.")
|
71 |
|
72 |
os.environ['TORCH_HOME'] = '/tmp/.cache'
|
|
|
73 |
|
74 |
options = ['dino16', 'vit', 'dinov2', 'clip', 'resnet50']
|
75 |
|
|
|
70 |
print(f"{filename} already exists. Skipping download.")
|
71 |
|
72 |
os.environ['TORCH_HOME'] = '/tmp/.cache'
|
73 |
+
os.environ['GRADIO_EXAMPLES_CACHE'] = '/tmp/gradio_cache'
|
74 |
|
75 |
options = ['dino16', 'vit', 'dinov2', 'clip', 'resnet50']
|
76 |
|