AbstractPhil commited on
Commit
fddb899
Β·
1 Parent(s): 0191a91
Files changed (2) hide show
  1. app.py +1 -0
  2. requirements.txt +2 -1
app.py CHANGED
@@ -9,6 +9,7 @@ from safetensors.torch import load_file
9
  from huggingface_hub import hf_hub_download
10
  from two_stream_shunt_adapter import TwoStreamShuntAdapter
11
  from configs import T5_SHUNT_REPOS
 
12
 
13
  # ─── Device & Model Setup ─────────────────────────────────────
14
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
 
9
  from huggingface_hub import hf_hub_download
10
  from two_stream_shunt_adapter import TwoStreamShuntAdapter
11
  from configs import T5_SHUNT_REPOS
12
+ from PIL import Image
13
 
14
  # ─── Device & Model Setup ─────────────────────────────────────
15
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
requirements.txt CHANGED
@@ -5,4 +5,5 @@ invisible_watermark
5
  torch
6
  transformers
7
  xformers
8
- matplotlib
 
 
5
  torch
6
  transformers
7
  xformers
8
+ matplotlib
9
+ pillow