Demosthene-OR commited on
Commit
b65fa3b
·
1 Parent(s): 2b690d1

Update main_dl.py

Browse files
Files changed (1) hide show
  1. main_dl.py +1 -1
main_dl.py CHANGED
@@ -257,8 +257,8 @@ async def display_translation(n1, Lang,model_type):
257
  s_trad_ref = df_data_tgt.iloc[n1:n1+5][0].tolist()
258
  source = Lang[:2]
259
  target = Lang[-2:]
 
260
  for i in range(3):
261
- await decode_seq_all()
262
  st.write("**"+source+" :** :blue["+ s[i]+"]")
263
  st.write("**"+target+" :** "+s_trad[-1])
264
  st.write("**ref. :** "+s_trad_ref[i])
 
257
  s_trad_ref = df_data_tgt.iloc[n1:n1+5][0].tolist()
258
  source = Lang[:2]
259
  target = Lang[-2:]
260
+ await decode_seq_all()
261
  for i in range(3):
 
262
  st.write("**"+source+" :** :blue["+ s[i]+"]")
263
  st.write("**"+target+" :** "+s_trad[-1])
264
  st.write("**ref. :** "+s_trad_ref[i])