1NEYRON1 commited on
Commit
44ea366
·
1 Parent(s): ccdced3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -211,7 +211,7 @@ if st.button("Классифицировать"):
211
  elif (int(top) > 1):
212
  t = int(top) / 100
213
  except ValueError:
214
- pass
215
 
216
  st.subheader(f'Результаты классификации (top {min(t * 100, 100)}%):')
217
  for label, score in results:
 
211
  elif (int(top) > 1):
212
  t = int(top) / 100
213
  except ValueError:
214
+ t = 0.95
215
 
216
  st.subheader(f'Результаты классификации (top {min(t * 100, 100)}%):')
217
  for label, score in results: