omm7 commited on
Commit
84b62a9
Β·
verified Β·
1 Parent(s): 2c67057

Upload app/app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app/app.py +3 -2
app/app.py CHANGED
@@ -196,13 +196,14 @@ with col2:
196
  decoded = tf.keras.backend.ctc_decode(yhat, input_length=[75], greedy=True)[0][0].numpy()
197
  st.code(str(decoded[0].tolist()), language=None)
198
 
199
- st.divider()
200
 
201
  # ── Ground truth (moved here) ─────────────────────────────────────────────
202
  st.divider()
203
  st.info("Ground truth label (from `.align` file)")
204
  st.code(ground_truth, language=None)
205
-
 
206
  # ── Final prediction ──────────────────────────────────────────────────────
207
  prediction = tf.strings.reduce_join(
208
  num_to_char(decoded[0])
 
196
  decoded = tf.keras.backend.ctc_decode(yhat, input_length=[75], greedy=True)[0][0].numpy()
197
  st.code(str(decoded[0].tolist()), language=None)
198
 
199
+
200
 
201
  # ── Ground truth (moved here) ─────────────────────────────────────────────
202
  st.divider()
203
  st.info("Ground truth label (from `.align` file)")
204
  st.code(ground_truth, language=None)
205
+
206
+ st.divider()
207
  # ── Final prediction ──────────────────────────────────────────────────────
208
  prediction = tf.strings.reduce_join(
209
  num_to_char(decoded[0])