Spaces:
Runtime error
Runtime error
a.pourmand
commited on
Commit
•
01eeb52
1
Parent(s):
e684f26
Fix bug
Browse files
app.py
CHANGED
@@ -7,8 +7,8 @@ load_dotenv()
|
|
7 |
from lang_list import TEXT_SOURCE_LANGUAGE_NAMES
|
8 |
from gradio_client import Client
|
9 |
|
10 |
-
HF_API = os.
|
11 |
-
API_URL = os.
|
12 |
|
13 |
DEFAULT_TARGET_LANGUAGE = "Western Persian"
|
14 |
|
|
|
7 |
from lang_list import TEXT_SOURCE_LANGUAGE_NAMES
|
8 |
from gradio_client import Client
|
9 |
|
10 |
+
HF_API = os.environ["HF_API"]
|
11 |
+
API_URL = os.envion["API_URL"] # path to Seamlessm4t API endpoint
|
12 |
|
13 |
DEFAULT_TARGET_LANGUAGE = "Western Persian"
|
14 |
|