patrickvonplaten
commited on
Commit
•
d2b128f
1
Parent(s):
e0d8a5a
Update app.py
Browse files
app.py
CHANGED
@@ -296,7 +296,7 @@ with gr.Blocks() as demo:
|
|
296 |
gr.Markdown(NOTE)
|
297 |
|
298 |
with gr.Column(visible=False):
|
299 |
-
selected_image = gr.
|
300 |
|
301 |
with gr.Column(visible=False) as gallery_view:
|
302 |
with gr.Row():
|
@@ -341,7 +341,7 @@ with gr.Blocks() as demo:
|
|
341 |
|
342 |
def integerize(x1, x2, x3, x4):
|
343 |
number = f"{int(x1)}{int(x2)}{int(x3)}{int(x4)}"
|
344 |
-
return
|
345 |
|
346 |
submit_button.click(
|
347 |
fn=integerize,
|
|
|
296 |
gr.Markdown(NOTE)
|
297 |
|
298 |
with gr.Column(visible=False):
|
299 |
+
selected_image = gr.Textbox(label="Selected indexes")
|
300 |
|
301 |
with gr.Column(visible=False) as gallery_view:
|
302 |
with gr.Row():
|
|
|
341 |
|
342 |
def integerize(x1, x2, x3, x4):
|
343 |
number = f"{int(x1)}{int(x2)}{int(x3)}{int(x4)}"
|
344 |
+
return number
|
345 |
|
346 |
submit_button.click(
|
347 |
fn=integerize,
|