Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import time
|
|
5 |
import os
|
6 |
|
7 |
def translate(text_input, openapi_key):
|
8 |
-
|
9 |
|
10 |
text_list = text_input.split('\n')[12:]
|
11 |
|
|
|
5 |
import os
|
6 |
|
7 |
def translate(text_input, openapi_key):
|
8 |
+
openapi.api_key = openapi_key
|
9 |
|
10 |
text_list = text_input.split('\n')[12:]
|
11 |
|