Spaces:
Runtime error
Runtime error
fixes
Browse files- README.md +1 -1
- app.py +4 -1
- requirements.txt +2 -2
README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
---
|
2 |
title: Sketch To Image
|
3 |
-
emoji:
|
4 |
colorFrom: gray
|
5 |
colorTo: green
|
6 |
sdk: gradio
|
|
|
1 |
---
|
2 |
title: Sketch To Image
|
3 |
+
emoji: 🎨
|
4 |
colorFrom: gray
|
5 |
colorTo: green
|
6 |
sdk: gradio
|
app.py
CHANGED
@@ -140,7 +140,10 @@ def process_sketch(
|
|
140 |
|
141 |
demo = gr.Blocks()
|
142 |
with demo:
|
143 |
-
|
|
|
|
|
|
|
144 |
# input_image = gr.Image(source="upload", type="numpy", tool="sketch")
|
145 |
with gr.Row():
|
146 |
input_image = gr.Sketchpad(
|
|
|
140 |
|
141 |
demo = gr.Blocks()
|
142 |
with demo:
|
143 |
+
gr.Markdown("## Sketch to Image")
|
144 |
+
gr.Markdown(
|
145 |
+
"This demo is based on [UniControl: ONE compact model for ALL the visual-condition-to-image generation](https://huggingface.co/spaces/Robert001/UniControl-Demo)"
|
146 |
+
)
|
147 |
# input_image = gr.Image(source="upload", type="numpy", tool="sketch")
|
148 |
with gr.Row():
|
149 |
input_image = gr.Sketchpad(
|
requirements.txt
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
addict==2.4.0
|
2 |
albumentations==1.3.0
|
3 |
einops==0.6.0
|
4 |
-
git+https://github.com/huggingface/accelerate
|
5 |
-
git+https://github.com/huggingface/diffusers
|
6 |
gradio==3.36.1
|
7 |
imageio==2.25.0
|
8 |
imageio-ffmpeg==0.4.8
|
|
|
1 |
addict==2.4.0
|
2 |
albumentations==1.3.0
|
3 |
einops==0.6.0
|
4 |
+
git+https://github.com/huggingface/accelerate
|
5 |
+
git+https://github.com/huggingface/diffusers
|
6 |
gradio==3.36.1
|
7 |
imageio==2.25.0
|
8 |
imageio-ffmpeg==0.4.8
|