Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -34,7 +34,7 @@ os.environ["MODE"] = "UI"
|
|
| 34 |
cur_dir = Path(__file__).parent
|
| 35 |
|
| 36 |
API_KEY = os.environ['API_KEY'] # Set with: export DASHSCOPE_API_KEY=xxx
|
| 37 |
-
API_URL = "wss://dashscope.aliyuncs.com/api-ws/v1/realtime?model=qwen3-livetranslate-flash-realtime"
|
| 38 |
VOICES = ["Cherry", "Nofish", "Jada", "Dylan", "Sunny", "Peter", "Kiki", "Eric"]
|
| 39 |
|
| 40 |
if not API_KEY:
|
|
|
|
| 34 |
cur_dir = Path(__file__).parent
|
| 35 |
|
| 36 |
API_KEY = os.environ['API_KEY'] # Set with: export DASHSCOPE_API_KEY=xxx
|
| 37 |
+
API_URL = "wss://dashscope-intl.aliyuncs.com/api-ws/v1/realtime?model=qwen3-livetranslate-flash-realtime"
|
| 38 |
VOICES = ["Cherry", "Nofish", "Jada", "Dylan", "Sunny", "Peter", "Kiki", "Eric"]
|
| 39 |
|
| 40 |
if not API_KEY:
|