Pippoz commited on
Commit
8a4b38e
1 Parent(s): 39d6180

Adjusting translation

Browse files
Files changed (1) hide show
  1. pages/translation.py +1 -1
pages/translation.py CHANGED
@@ -41,7 +41,7 @@ def app():
41
  answer = generator(prompt)
42
  gen.empty()
43
 
44
- lst = answer[0]['generated_text']
45
 
46
  t = st.empty()
47
  for i in range(len(lst)):
 
41
  answer = generator(prompt)
42
  gen.empty()
43
 
44
+ lst = answer[0]['translation_text']
45
 
46
  t = st.empty()
47
  for i in range(len(lst)):