Updates for remote deployment
Browse files- app.py +1 -1
- requirements.txt +1 -0
app.py
CHANGED
@@ -27,7 +27,7 @@ from CLIP_Explainability.vit_cam import (
|
|
27 |
|
28 |
from pytorch_grad_cam.grad_cam import GradCAM
|
29 |
|
30 |
-
RUN_LITE =
|
31 |
|
32 |
MAX_IMG_WIDTH = 500
|
33 |
MAX_IMG_HEIGHT = 800
|
|
|
27 |
|
28 |
from pytorch_grad_cam.grad_cam import GradCAM
|
29 |
|
30 |
+
RUN_LITE = False # Load vision model for CAM viz explainability for M-CLIP only
|
31 |
|
32 |
MAX_IMG_WIDTH = 500
|
33 |
MAX_IMG_HEIGHT = 800
|
requirements.txt
CHANGED
@@ -7,6 +7,7 @@ pandas==2.1.2
|
|
7 |
pillow==10.1.0
|
8 |
requests==2.31.0
|
9 |
sentencepiece==0.2.0
|
|
|
10 |
torch==2.4.0
|
11 |
torchvision==0.19.0
|
12 |
transformers==4.35.0
|
|
|
7 |
pillow==10.1.0
|
8 |
requests==2.31.0
|
9 |
sentencepiece==0.2.0
|
10 |
+
streamlit
|
11 |
torch==2.4.0
|
12 |
torchvision==0.19.0
|
13 |
transformers==4.35.0
|