DebasishDhal99 commited on
Commit
8e79bf9
1 Parent(s): d94576d

Removing those "Language:", "Output" things

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -69,10 +69,10 @@ with tab1:
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
- st.write("Polish:"+input_string_polish)
73
- st.write('Output:'+output_string)
74
  else:
75
- st.write('Output:'+output_string)
76
  else:
77
  st.warning("Please enter a string.")
78
 
@@ -93,10 +93,10 @@ with tab2:
93
  output_string = hungarian_sentence_to_latin(input_string_hungarian)
94
  st.subheader("Transliterated Output:")
95
  if selected_example_hu == "Generate a random sentence" :
96
- st.write("Hungarian:"+input_string_hungarian)
97
- st.write("Output:"+output_string)
98
  else:
99
- st.write('Output:'+output_string)
100
  else:
101
  st.warning("Please enter a string.")
102
 
@@ -119,9 +119,9 @@ with tab3:
119
  output_string = turkish_sentence_to_latin(input_string_turkish)
120
  st.subheader("Transliterated Output:")
121
  if selected_example_tu == "Generate a random sentence" :
122
- st.write("Turkish:"+input_string_turkish)
123
- st.write('Output:'+output_string)
124
  else:
125
- st.write('Output:'+output_string)
126
  else:
127
  st.warning("Please enter a string.")
 
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
+ st.write(input_string_polish)
73
+ st.write(output_string)
74
  else:
75
+ st.write(output_string)
76
  else:
77
  st.warning("Please enter a string.")
78
 
 
93
  output_string = hungarian_sentence_to_latin(input_string_hungarian)
94
  st.subheader("Transliterated Output:")
95
  if selected_example_hu == "Generate a random sentence" :
96
+ st.write(input_string_hungarian)
97
+ st.write(output_string)
98
  else:
99
+ st.write(output_string)
100
  else:
101
  st.warning("Please enter a string.")
102
 
 
119
  output_string = turkish_sentence_to_latin(input_string_turkish)
120
  st.subheader("Transliterated Output:")
121
  if selected_example_tu == "Generate a random sentence" :
122
+ st.write(input_string_turkish)
123
+ st.write(output_string)
124
  else:
125
+ st.write(output_string)
126
  else:
127
  st.warning("Please enter a string.")