amos1088 commited on
Commit
a55b025
·
1 Parent(s): 5a5a07a

test gradio

Browse files
Files changed (2) hide show
  1. app.py +1 -0
  2. requirements.txt +2 -1
app.py CHANGED
@@ -4,6 +4,7 @@ from diffusers import StableDiffusion3ControlNetPipeline, SD3ControlNetModel, Un
4
  from huggingface_hub import login
5
  import os
6
  import spaces
 
7
 
8
  # Log in to Hugging Face with your token
9
  token = os.getenv("HF_TOKEN")
 
4
  from huggingface_hub import login
5
  import os
6
  import spaces
7
+ from PIL import Image
8
 
9
  # Log in to Hugging Face with your token
10
  token = os.getenv("HF_TOKEN")
requirements.txt CHANGED
@@ -4,4 +4,5 @@ transformers
4
  accelerate
5
  gradio
6
  sentencepiece
7
- spaces
 
 
4
  accelerate
5
  gradio
6
  sentencepiece
7
+ spaces
8
+ pillow