Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def translate(text_input, openapi_key):
|
|
14 |
|
15 |
reply = []
|
16 |
|
17 |
-
for i in range(0,len(text_list)
|
18 |
content = """What do these sentences about Hugging Face Transformers (a machine learning library) mean in Korean? Please do not translate the word after a π€ emoji as it is a product name. Please ignore the video and image and translate only the sentences I provided. Ignore the contents of the iframe tag.
|
19 |
```md
|
20 |
%s"""%'\n'.join(text_list[i:i+10])
|
|
|
14 |
|
15 |
reply = []
|
16 |
|
17 |
+
for i in range(0,len(text_list),10):
|
18 |
content = """What do these sentences about Hugging Face Transformers (a machine learning library) mean in Korean? Please do not translate the word after a π€ emoji as it is a product name. Please ignore the video and image and translate only the sentences I provided. Ignore the contents of the iframe tag.
|
19 |
```md
|
20 |
%s"""%'\n'.join(text_list[i:i+10])
|