Sophia Yang commited on
Commit
4afd603
1 Parent(s): 0be241a
Files changed (2) hide show
  1. app.py +0 -3
  2. requirements.txt +1 -1
app.py CHANGED
@@ -15,9 +15,6 @@ pn.state.template.main_max_width = "690px"
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"
23
  pipe = StableDiffusionInstructPix2PixPipeline.from_pretrained(
 
15
  pn.state.template.accent_base_color = "#F08080"
16
  pn.state.template.header_background = "#F08080"
17
 
 
 
 
18
  # Model
19
  model_id = "timbrooks/instruct-pix2pix"
20
  pipe = StableDiffusionInstructPix2PixPipeline.from_pretrained(
requirements.txt CHANGED
@@ -1,5 +1,5 @@
1
  panel
2
  hvplot
3
- diffusers
4
  transformers
5
  accelerate
 
1
  panel
2
  hvplot
3
+ git+https://github.com/huggingface/diffusers.git
4
  transformers
5
  accelerate