Galuh Sahid commited on
Commit
7be8469
1 Parent(s): d356c04

bug: replace result with text

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -149,7 +149,7 @@ if st.button("Run"):
149
  st.write(translation.replace("\n", " \n"))
150
 
151
  else:
152
- st.write(translate(result, lang, "id").replace("\n", " \n"))
153
 
154
  image_cat = "https://media.giphy.com/media/vFKqnCdLPNOKc/giphy.gif"
155
  image = get_image(translation.replace("\"", "'"))
 
149
  st.write(translation.replace("\n", " \n"))
150
 
151
  else:
152
+ st.write(translate(text, lang, "id").replace("\n", " \n"))
153
 
154
  image_cat = "https://media.giphy.com/media/vFKqnCdLPNOKc/giphy.gif"
155
  image = get_image(translation.replace("\"", "'"))