Skip to content

Commit

Permalink
Formatting for imports Any, Optional corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
ronaksingh27 committed Oct 10, 2024
1 parent 78ceff9 commit 41fbc16
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion api/core/model_runtime/model_providers/__base/tts_model.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import logging
import re
from abc import abstractmethod
from typing import Any,Optional
from typing import Any, Optional

from pydantic import ConfigDict

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Any,Optional
from typing import Any, Optional

import httpx

Expand Down
2 changes: 1 addition & 1 deletion api/core/model_runtime/model_providers/openai/tts/tts.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import concurrent.futures
from typing import Any,Optional
from typing import Any, Optional

from openai import OpenAI

Expand Down
2 changes: 1 addition & 1 deletion api/core/model_runtime/model_providers/tongyi/tts/tts.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import threading
from queue import Queue
from typing import Any,Optional
from typing import Any, Optional

import dashscope
from dashscope import SpeechSynthesizer
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import concurrent.futures
from typing import Any,Optional
from typing import Any, Optional

from xinference_client.client.restful.restful_client import RESTfulAudioModelHandle

Expand Down

0 comments on commit 41fbc16

Please sign in to comment.