Sophia Yang commited on
Commit
0be241a
1 Parent(s): 91dec07
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -15,6 +15,8 @@ pn.state.template.main_max_width = "690px"
15
  pn.state.template.accent_base_color = "#F08080"
16
  pn.state.template.header_background = "#F08080"
17
 
 
 
18
 
19
  # Model
20
  model_id = "timbrooks/instruct-pix2pix"
 
15
  pn.state.template.accent_base_color = "#F08080"
16
  pn.state.template.header_background = "#F08080"
17
 
18
+ import os
19
+ os.environ['TRANSFORMERS_CACHE'] = '/cache/'
20
 
21
  # Model
22
  model_id = "timbrooks/instruct-pix2pix"