Brasd99 commited on
Commit
257020e
1 Parent(s): 399c94a

Finish progress on error

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -39,4 +39,5 @@ if st.button('Запуск'):
39
  with open('output.zip', 'rb') as f:
40
  st.download_button('Скачать архив', f, file_name='output.zip')
41
  except Exception as e:
42
- st.error(e)
 
 
39
  with open('output.zip', 'rb') as f:
40
  st.download_button('Скачать архив', f, file_name='output.zip')
41
  except Exception as e:
42
+ st.error(e)
43
+ update_progress(1.0, 'Возникла ошибка!')