Spaces:
Sleeping
Sleeping
Commit
•
3d6f220
1
Parent(s):
1dbf257
Update app.py
Browse files
app.py
CHANGED
@@ -90,7 +90,7 @@ def load_captioning(uploaded_files, concept_sentence):
|
|
90 |
return updates
|
91 |
|
92 |
def hide_captioning():
|
93 |
-
return gr.update(visible=False), gr.update(visible=False), gr.update(visible=False)
|
94 |
|
95 |
def create_dataset(*inputs):
|
96 |
print("Creating dataset")
|
@@ -473,7 +473,7 @@ with gr.Blocks(theme=theme, css=css) as demo:
|
|
473 |
)
|
474 |
images.clear(
|
475 |
hide_captioning,
|
476 |
-
outputs=[captioning_area, cost_preview, start]
|
477 |
)
|
478 |
gr.on(
|
479 |
triggers=[steps.change, payment_update.click],
|
|
|
90 |
return updates
|
91 |
|
92 |
def hide_captioning():
|
93 |
+
return gr.update(visible=False), gr.update(visible=False), gr.update(visible=False), gr.update(visible=False)
|
94 |
|
95 |
def create_dataset(*inputs):
|
96 |
print("Creating dataset")
|
|
|
473 |
)
|
474 |
images.clear(
|
475 |
hide_captioning,
|
476 |
+
outputs=[captioning_area, cost_preview, sample, start]
|
477 |
)
|
478 |
gr.on(
|
479 |
triggers=[steps.change, payment_update.click],
|