mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 11:27:46 +01:00
chore: format
This commit is contained in:
@@ -503,9 +503,7 @@ def get_elevenlabs_voices() -> dict:
|
|||||||
}
|
}
|
||||||
try:
|
try:
|
||||||
# TODO: Add retries
|
# TODO: Add retries
|
||||||
response = requests.get(
|
response = requests.get("https://api.elevenlabs.io/v1/voices", headers=headers)
|
||||||
"https://api.elevenlabs.io/v1/voices", headers=headers
|
|
||||||
)
|
|
||||||
response.raise_for_status()
|
response.raise_for_status()
|
||||||
voices_data = response.json()
|
voices_data = response.json()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user