guymorlan commited on
Commit
34fa3c3
1 Parent(s): 1de2927

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ input_text = st.text_input("Enter English text:")
10
 
11
  if input_text:
12
  result = pipeline(input_text, max_length=1024, num_return_sequences=num_translations, num_beams=max(num_translations, 5))
13
- st.markdown("<div style='font-size:24px;text-align:right; direction:rtl;'>", unsafe_allow_html=True)
14
  outs = list(set([x["translation_text"] for x in result]))
15
  for i in range(len(outs)):
16
  st.markdown(f"{outs[i]}", unsafe_allow_html=True)
 
10
 
11
  if input_text:
12
  result = pipeline(input_text, max_length=1024, num_return_sequences=num_translations, num_beams=max(num_translations, 5))
13
+ st.markdown("<div style='font-size:24px; text-align:right; direction:rtl;'>", unsafe_allow_html=True)
14
  outs = list(set([x["translation_text"] for x in result]))
15
  for i in range(len(outs)):
16
  st.markdown(f"{outs[i]}", unsafe_allow_html=True)