Spaces:
Sleeping
Sleeping
francescoKrnl
commited on
Commit
•
7a0437c
1
Parent(s):
9b37133
Update app.py
Browse files
app.py
CHANGED
@@ -179,9 +179,9 @@ with gr.Blocks(css="style.css") as demo:
|
|
179 |
with gr.Group(elem_id="output_image_container", elem_classes="image_container"):
|
180 |
result = gr.Image(label="Result", height=440, width=440, elem_id="output_image", show_label=False, show_download_button=True)
|
181 |
with gr.Row(elem_id="radio_row"):
|
182 |
-
item = gr.Radio(choices=ITEMS_NAMES, value=DEFAULT_ITEM_NAME)
|
183 |
gr.HTML("""<div id="footer_block">
|
184 |
-
<button id="fullscreen" onclick="document.body.querySelector('#
|
185 |
</div>""")
|
186 |
|
187 |
demo.load(None,None,None,_js=scripts)
|
|
|
179 |
with gr.Group(elem_id="output_image_container", elem_classes="image_container"):
|
180 |
result = gr.Image(label="Result", height=440, width=440, elem_id="output_image", show_label=False, show_download_button=True)
|
181 |
with gr.Row(elem_id="radio_row"):
|
182 |
+
item = gr.Radio(choices=ITEMS_NAMES, value=DEFAULT_ITEM_NAME, show_label=False)
|
183 |
gr.HTML("""<div id="footer_block">
|
184 |
+
<button id="fullscreen" onclick="document.body.querySelector('#component-0').requestFullscreen();" class="fullscreen" title="fullscreen"></button>
|
185 |
</div>""")
|
186 |
|
187 |
demo.load(None,None,None,_js=scripts)
|