Spaces:
Runtime error
Runtime error
geonmo.gu
commited on
Commit
•
e707077
1
Parent(s):
5cc416b
fix error
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def load_models():
|
|
26 |
return model_dict
|
27 |
|
28 |
|
29 |
-
def translation(
|
30 |
start_time = time.time()
|
31 |
source = flores_codes[source]
|
32 |
target = flores_codes[target]
|
|
|
26 |
return model_dict
|
27 |
|
28 |
|
29 |
+
def translation(source, target, text):
|
30 |
start_time = time.time()
|
31 |
source = flores_codes[source]
|
32 |
target = flores_codes[target]
|