fix error
Browse files- .idea/workspace.xml +1 -1
- app.py +2 -2
.idea/workspace.xml
CHANGED
|
@@ -69,7 +69,7 @@
|
|
| 69 |
<workItem from="1713919910236" duration="1099000" />
|
| 70 |
<workItem from="1713921043559" duration="495000" />
|
| 71 |
<workItem from="1714055653743" duration="2106000" />
|
| 72 |
-
<workItem from="1714065328028" duration="
|
| 73 |
</task>
|
| 74 |
<servers />
|
| 75 |
</component>
|
|
|
|
| 69 |
<workItem from="1713919910236" duration="1099000" />
|
| 70 |
<workItem from="1713921043559" duration="495000" />
|
| 71 |
<workItem from="1714055653743" duration="2106000" />
|
| 72 |
+
<workItem from="1714065328028" duration="990000" />
|
| 73 |
</task>
|
| 74 |
<servers />
|
| 75 |
</component>
|
app.py
CHANGED
|
@@ -98,9 +98,9 @@ def main():
|
|
| 98 |
with gr.Blocks(theme="AmirMoris/GP_Themes") as demo:
|
| 99 |
toggle_theme = gr.Button(value="Toggle Theme")
|
| 100 |
with gr.Row():
|
| 101 |
-
input_image = gr.Image(label="Input Image", type="pil", height=
|
| 102 |
edited_image = gr.Image(
|
| 103 |
-
label=f"Edited Image", type="pil", height=
|
| 104 |
)
|
| 105 |
|
| 106 |
with gr.Row():
|
|
|
|
| 98 |
with gr.Blocks(theme="AmirMoris/GP_Themes") as demo:
|
| 99 |
toggle_theme = gr.Button(value="Toggle Theme")
|
| 100 |
with gr.Row():
|
| 101 |
+
input_image = gr.Image(label="Input Image", type="pil", height=400, interactive=True)
|
| 102 |
edited_image = gr.Image(
|
| 103 |
+
label=f"Edited Image", type="pil", height=400, interactive=False
|
| 104 |
)
|
| 105 |
|
| 106 |
with gr.Row():
|