Spaces:
Running
on
Zero
Running
on
Zero
update requirements.txt
Browse files- app.py +1 -1
- requirements.txt +2 -1
app.py
CHANGED
@@ -47,7 +47,7 @@ def generate(image_mask, prompt, num_inference_steps=50, image_guidance_scale=1.
|
|
47 |
generator=generator
|
48 |
).images[0]
|
49 |
|
50 |
-
return image
|
51 |
|
52 |
|
53 |
# image_mask_input = gr.ImageMask(label="Input Image", type="pil", brush_color="#000000", elem_id="inputmask",
|
|
|
47 |
generator=generator
|
48 |
).images[0]
|
49 |
|
50 |
+
return image
|
51 |
|
52 |
|
53 |
# image_mask_input = gr.ImageMask(label="Input Image", type="pil", brush_color="#000000", elem_id="inputmask",
|
requirements.txt
CHANGED
@@ -4,4 +4,5 @@ torch
|
|
4 |
transformers
|
5 |
xformers
|
6 |
sentencepiece
|
7 |
-
-e UltraEdit/diffusers
|
|
|
|
4 |
transformers
|
5 |
xformers
|
6 |
sentencepiece
|
7 |
+
-e UltraEdit/diffusers
|
8 |
+
gradio==4.29.0
|