Nischay103 commited on
Commit
e1ef17a
1 Parent(s): 90505a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -97,6 +97,8 @@ if uploaded_file is not None:
97
  st.write(f"Recognized Character Sequence: {output}")
98
 
99
  st.write("## Examples")
100
- for model_variant, captcha_path in example_captchas.items():
101
- st.image(captcha_path,caption=f'Model {model_variant}: {captcha_path.split("/")[-1]}', width=100)
102
- st.write(f"Model Version: {model_variant}")
 
 
 
97
  st.write(f"Recognized Character Sequence: {output}")
98
 
99
  st.write("## Examples")
100
+ cols = st.columns(3)
101
+ for idx,model_variant, captcha_path in enumerate(example_captchas.items()):
102
+ col = cols[idx % 3]
103
+ col.image(captcha_path,caption=f'Model {model_variant}: {captcha_path.split("/")[-1]}', width=100)
104
+ col.write(f"Model Version: {model_variant}")