Spaces:
Runtime error
Runtime error
Adjusting translation
Browse files- 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]['
|
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)):
|