BigSalmon commited on
Commit
a2cb5b0
1 Parent(s): 5bea563

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,6 +21,6 @@ def run_generate(bad_words):
21
  print(bad_word_ids)
22
  return bad_word_ids
23
 
24
- if text:
25
  translated_text = run_generate(bad_words)
26
  st.write(translated_text if translated_text else "No translation found")
 
21
  print(bad_word_ids)
22
  return bad_word_ids
23
 
24
+ if bad_words:
25
  translated_text = run_generate(bad_words)
26
  st.write(translated_text if translated_text else "No translation found")