multimodalart HF staff commited on
Commit
e4068c9
1 Parent(s): 9255bd7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -159,7 +159,7 @@ def train(*inputs):
159
  shutil.rmtree('instance_images')
160
  shutil.make_archive("output_model", 'zip', "output_model")
161
  shutil.rmtree("output_model")
162
- return gr.update(visible=True, value="output_model.zip")
163
 
164
  with gr.Blocks(css=css) as demo:
165
  with gr.Box():
 
159
  shutil.rmtree('instance_images')
160
  shutil.make_archive("output_model", 'zip', "output_model")
161
  shutil.rmtree("output_model")
162
+ return [gr.update(visible=True, value="output_model.zip"), gr.update(visible=True), gr.update(visible=True)]
163
 
164
  with gr.Blocks(css=css) as demo:
165
  with gr.Box():