Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import numpy as np
|
|
3 |
import imageio
|
4 |
from PIL import Image
|
5 |
|
6 |
-
source_img = gr.Image(source="upload", type="numpy", tool="sketch", shape=(512, 512));
|
7 |
outputs = [gr.outputs.Image(type="file",label="output"),gr.outputs.Image(type="file",label="Mask")]
|
8 |
def resize(height,img):
|
9 |
baseheight = height
|
|
|
3 |
import imageio
|
4 |
from PIL import Image
|
5 |
|
6 |
+
source_img = gr.Image(source="upload", type="numpy", tool="sketch", shape=(512, 512), elem_id="source_container");
|
7 |
outputs = [gr.outputs.Image(type="file",label="output"),gr.outputs.Image(type="file",label="Mask")]
|
8 |
def resize(height,img):
|
9 |
baseheight = height
|