Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -438,13 +438,14 @@ with gr.Blocks(css="style.css") as demo:
|
|
438 |
with gr.Column():
|
439 |
with gr.Row():
|
440 |
with gr.Column():
|
441 |
-
|
442 |
-
#
|
443 |
-
|
444 |
-
height=512, width=512, brush=gr.Brush(), layers=False)
|
445 |
with gr.Row():
|
446 |
sample = gr.Button("🎲 Sample New Model")
|
447 |
-
invert_button = gr.Button("⏪ Invert")
|
|
|
|
|
448 |
with gr.Column():
|
449 |
image_slider = ImageSlider(position=0.5, type="pil", height=512, width=512)
|
450 |
# gallery1 = gr.Image(label="Identity from Original Model",height=512, width=512, interactive=False)
|
|
|
438 |
with gr.Column():
|
439 |
with gr.Row():
|
440 |
with gr.Column():
|
441 |
+
input_image = gr.Image(label="Identity from Sampled or Uploaded Model", height=512, width=512)
|
442 |
+
# input_image = gr.ImageEditor(elem_id="image_upload", type='pil', label="Upload image and draw to define mask",
|
443 |
+
# height=512, width=512, brush=gr.Brush(), layers=False)
|
|
|
444 |
with gr.Row():
|
445 |
sample = gr.Button("🎲 Sample New Model")
|
446 |
+
#invert_button = gr.Button("⏪ Invert")
|
447 |
+
file_input = gr.File(label="Upload Model", container=True)
|
448 |
+
file_input = gr.File(label="Download Model", container=True)
|
449 |
with gr.Column():
|
450 |
image_slider = ImageSlider(position=0.5, type="pil", height=512, width=512)
|
451 |
# gallery1 = gr.Image(label="Identity from Original Model",height=512, width=512, interactive=False)
|