DebasishDhal99 commited on
Commit
89415ca
·
1 Parent(s): 8fedb70

Output indentation edit

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -68,7 +68,7 @@ with tab1:
68
  output_string = polish_sentence_to_latin(input_string_polish)
69
  st.subheader("Transliterated Output:")
70
  if selected_example_po == "Generate a random sentence" :
71
- st.write("Polish:"+input_string_polish+'\n'+'Output:'+output_string)
72
  else:
73
  st.write(output_string)
74
  else:
@@ -91,7 +91,7 @@ with tab2:
91
  output_string = hungarian_sentence_to_latin(input_string_hungarian)
92
  st.subheader("Transliterated Output:")
93
  if selected_example_hu == "Generate a random sentence" :
94
- st.write("Hungarian:"+input_string_hungarian+'\n'+'Output:'+output_string)
95
  else:
96
  st.write(output_string)
97
  else:
@@ -116,7 +116,7 @@ with tab3:
116
  output_string = turkish_sentence_to_latin(input_string_turkish)
117
  st.subheader("Transliterated Output:")
118
  if selected_example_tu == "Generate a random sentence" :
119
- st.write("Turkish:"+input_string_turkish+'\n'+'Output:'+output_string)
120
  else:
121
  st.write(output_string)
122
  else:
 
68
  output_string = polish_sentence_to_latin(input_string_polish)
69
  st.subheader("Transliterated Output:")
70
  if selected_example_po == "Generate a random sentence" :
71
+ st.write("Polish:"+input_string_polish+':Output:'+output_string)
72
  else:
73
  st.write(output_string)
74
  else:
 
91
  output_string = hungarian_sentence_to_latin(input_string_hungarian)
92
  st.subheader("Transliterated Output:")
93
  if selected_example_hu == "Generate a random sentence" :
94
+ st.write("Hungarian:"+input_string_hungarian+':Output:'+output_string)
95
  else:
96
  st.write(output_string)
97
  else:
 
116
  output_string = turkish_sentence_to_latin(input_string_turkish)
117
  st.subheader("Transliterated Output:")
118
  if selected_example_tu == "Generate a random sentence" :
119
+ st.write("Turkish:"+input_string_turkish+':Output:'+output_string)
120
  else:
121
  st.write(output_string)
122
  else: