Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -78,13 +78,13 @@ with gr.Blocks() as demo:
|
|
| 78 |
#gr.Markdown("<center> Encrypt your message and let your friends decrypt it on the same day.</center>")
|
| 79 |
|
| 80 |
image_1 = gr.Image(
|
| 81 |
-
label = "Fixed Image",height =
|
| 82 |
#source = "upload",
|
| 83 |
type = "filepath",
|
| 84 |
elem_id = "image-in",
|
| 85 |
)
|
| 86 |
image_2 = gr.Image(
|
| 87 |
-
label = "Moving Image",height =
|
| 88 |
#source = "upload",
|
| 89 |
type = "filepath",
|
| 90 |
elem_id = "image-in",
|
|
@@ -94,15 +94,15 @@ with gr.Blocks() as demo:
|
|
| 94 |
["Additive_Recurence", "Rawblock"], label="Model", info="select a model"
|
| 95 |
)'''
|
| 96 |
|
| 97 |
-
out_image1 = gr.Image(label = "ٌRegistered image", height =
|
| 98 |
#source = "upload",
|
| 99 |
#type = "filepath",
|
| 100 |
elem_id = "image-out"
|
| 101 |
)
|
| 102 |
-
out_image2 = gr.Image(label = "ٌMarked source image",height =
|
| 103 |
elem_id = "image-out2"
|
| 104 |
)
|
| 105 |
-
out_image3 = gr.Image(label = "ٌMarked wrapped image",height =
|
| 106 |
elem_id = "image-out3"
|
| 107 |
)
|
| 108 |
inputs = [image_1, image_2]#, model_list]
|
|
|
|
| 78 |
#gr.Markdown("<center> Encrypt your message and let your friends decrypt it on the same day.</center>")
|
| 79 |
|
| 80 |
image_1 = gr.Image(
|
| 81 |
+
label = "Fixed Image",height = 224, width=180,
|
| 82 |
#source = "upload",
|
| 83 |
type = "filepath",
|
| 84 |
elem_id = "image-in",
|
| 85 |
)
|
| 86 |
image_2 = gr.Image(
|
| 87 |
+
label = "Moving Image",height = 224, width=180,
|
| 88 |
#source = "upload",
|
| 89 |
type = "filepath",
|
| 90 |
elem_id = "image-in",
|
|
|
|
| 94 |
["Additive_Recurence", "Rawblock"], label="Model", info="select a model"
|
| 95 |
)'''
|
| 96 |
|
| 97 |
+
out_image1 = gr.Image(label = "ٌRegistered image", height = 224, width=224,
|
| 98 |
#source = "upload",
|
| 99 |
#type = "filepath",
|
| 100 |
elem_id = "image-out"
|
| 101 |
)
|
| 102 |
+
out_image2 = gr.Image(label = "ٌMarked source image",height = 224, width=224,
|
| 103 |
elem_id = "image-out2"
|
| 104 |
)
|
| 105 |
+
out_image3 = gr.Image(label = "ٌMarked wrapped image",height = 224, width=224,
|
| 106 |
elem_id = "image-out3"
|
| 107 |
)
|
| 108 |
inputs = [image_1, image_2]#, model_list]
|