Update app.py
Browse files
app.py
CHANGED
|
@@ -83,7 +83,9 @@ with gr.Blocks() as demo:
|
|
| 83 |
#checklist1 = gr.CheckboxGroup(["4:3", "3:4", "16:9"], label="Shape", info="The shape of cropped image")
|
| 84 |
radio2 = gr.Radio(["9:16", "3:4","1:1","4:3", "16:9","circle"], value="3:4",label="Shape", info="The shape of cropped image")
|
| 85 |
#radio1 = gr.Radio(["park", "zoo", "road"], label="Location", info="Where did they go?")
|
|
|
|
| 86 |
src_img1 = gr.Image()
|
|
|
|
| 87 |
bottom1 = gr.Button(label="cropping component")
|
| 88 |
|
| 89 |
out1 = gr.Image()#gr.Textbox()
|
|
|
|
| 83 |
#checklist1 = gr.CheckboxGroup(["4:3", "3:4", "16:9"], label="Shape", info="The shape of cropped image")
|
| 84 |
radio2 = gr.Radio(["9:16", "3:4","1:1","4:3", "16:9","circle"], value="3:4",label="Shape", info="The shape of cropped image")
|
| 85 |
#radio1 = gr.Radio(["park", "zoo", "road"], label="Location", info="Where did they go?")
|
| 86 |
+
|
| 87 |
src_img1 = gr.Image()
|
| 88 |
+
exp=gr.Example(["bikecircle.png"],src_img1)
|
| 89 |
bottom1 = gr.Button(label="cropping component")
|
| 90 |
|
| 91 |
out1 = gr.Image()#gr.Textbox()
|