Merge pull request #875 from pipecat-ai/aleix/update-dependencies
update dependencies
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
build~=1.2.1
|
build~=1.2.2
|
||||||
grpcio-tools~=1.65.4
|
grpcio-tools~=1.68.1
|
||||||
pip-tools~=7.4.1
|
pip-tools~=7.4.1
|
||||||
pyright~=1.1.376
|
pyright~=1.1.390
|
||||||
pytest~=8.3.2
|
pytest~=8.3.4
|
||||||
ruff~=0.6.7
|
ruff~=0.8.3
|
||||||
setuptools~=72.2.0
|
setuptools~=75.6.0
|
||||||
setuptools_scm~=8.1.0
|
setuptools_scm~=8.1.0
|
||||||
python-dotenv~=1.0.1
|
python-dotenv~=1.0.1
|
||||||
@@ -21,12 +21,14 @@ classifiers = [
|
|||||||
]
|
]
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"aiohttp~=3.11.10",
|
"aiohttp~=3.11.10",
|
||||||
"loguru~=0.7.2",
|
"audioop-lts~=0.2.1; python_version>='3.13'",
|
||||||
|
"loguru~=0.7.3",
|
||||||
"Markdown~=3.7",
|
"Markdown~=3.7",
|
||||||
"numpy~=1.26.4",
|
"numpy~=2.1.3",
|
||||||
"Pillow~=10.4.0",
|
"numba~=0.61.0rc1",
|
||||||
|
"Pillow~=11.0.0",
|
||||||
"protobuf~=5.29.1",
|
"protobuf~=5.29.1",
|
||||||
"pydantic~=2.8.2",
|
"pydantic~=2.10.3",
|
||||||
"pyloudnorm~=0.1.1",
|
"pyloudnorm~=0.1.1",
|
||||||
"resampy~=0.4.3",
|
"resampy~=0.4.3",
|
||||||
"tenacity~=9.0.0"
|
"tenacity~=9.0.0"
|
||||||
@@ -46,7 +48,6 @@ cartesia = [ "cartesia~=1.0.13", "websockets~=13.1" ]
|
|||||||
daily = [ "daily-python~=0.13.0" ]
|
daily = [ "daily-python~=0.13.0" ]
|
||||||
deepgram = [ "deepgram-sdk~=3.7.7" ]
|
deepgram = [ "deepgram-sdk~=3.7.7" ]
|
||||||
elevenlabs = [ "websockets~=13.1" ]
|
elevenlabs = [ "websockets~=13.1" ]
|
||||||
examples = [ "python-dotenv~=1.0.1", "flask~=3.0.3", "flask_cors~=4.0.1" ]
|
|
||||||
fal = [ "fal-client~=0.4.1" ]
|
fal = [ "fal-client~=0.4.1" ]
|
||||||
gladia = [ "websockets~=13.1" ]
|
gladia = [ "websockets~=13.1" ]
|
||||||
google = [ "google-generativeai~=0.8.3", "google-cloud-texttospeech~=2.21.1" ]
|
google = [ "google-generativeai~=0.8.3", "google-cloud-texttospeech~=2.21.1" ]
|
||||||
@@ -63,8 +64,8 @@ moondream = [ "einops~=0.8.0", "timm~=1.0.8", "transformers~=4.44.0" ]
|
|||||||
nim = [ "openai~=1.57.2" ]
|
nim = [ "openai~=1.57.2" ]
|
||||||
noisereduce = [ "noisereduce~=3.0.3" ]
|
noisereduce = [ "noisereduce~=3.0.3" ]
|
||||||
openai = [ "openai~=1.57.2", "websockets~=13.1", "python-deepcompare~=1.0.1" ]
|
openai = [ "openai~=1.57.2", "websockets~=13.1", "python-deepcompare~=1.0.1" ]
|
||||||
openpipe = [ "openpipe~=4.38.0" ]
|
openpipe = [ "openpipe~=4.40.0" ]
|
||||||
playht = [ "pyht~=0.1.8", "websockets~=13.1" ]
|
playht = [ "pyht~=0.1.9", "websockets~=13.1" ]
|
||||||
riva = [ "nvidia-riva-client~=2.17.0" ]
|
riva = [ "nvidia-riva-client~=2.17.0" ]
|
||||||
silero = [ "onnxruntime~=1.20.1" ]
|
silero = [ "onnxruntime~=1.20.1" ]
|
||||||
simli = [ "simli-ai~=0.1.7"]
|
simli = [ "simli-ai~=0.1.7"]
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
#
|
||||||
|
# Copyright (c) 2024, Daily
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: BSD 2-Clause License
|
||||||
|
#
|
||||||
|
|
||||||
import time
|
import time
|
||||||
|
|
||||||
from pipecat.frames.frames import MetricsFrame
|
from pipecat.frames.frames import MetricsFrame
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
#
|
||||||
|
# Copyright (c) 2024, Daily
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: BSD 2-Clause License
|
||||||
|
#
|
||||||
|
|
||||||
import time
|
import time
|
||||||
from loguru import logger
|
from loguru import logger
|
||||||
|
|
||||||
@@ -29,8 +35,10 @@ class SentryMetrics(FrameProcessorMetrics):
|
|||||||
description=f"TTFB for {self._processor_name()}",
|
description=f"TTFB for {self._processor_name()}",
|
||||||
start_timestamp=self._start_ttfb_time,
|
start_timestamp=self._start_ttfb_time,
|
||||||
)
|
)
|
||||||
logger.debug(f"Sentry Span ID: {self._ttfb_metrics_span.span_id} Description: {
|
logger.debug(
|
||||||
self._ttfb_metrics_span.description} started.")
|
f"Sentry Span ID: {self._ttfb_metrics_span.span_id} Description: {
|
||||||
|
self._ttfb_metrics_span.description} started."
|
||||||
|
)
|
||||||
self._should_report_ttfb = not report_only_initial_ttfb
|
self._should_report_ttfb = not report_only_initial_ttfb
|
||||||
|
|
||||||
async def stop_ttfb_metrics(self):
|
async def stop_ttfb_metrics(self):
|
||||||
@@ -46,8 +54,10 @@ class SentryMetrics(FrameProcessorMetrics):
|
|||||||
description=f"Processing for {self._processor_name()}",
|
description=f"Processing for {self._processor_name()}",
|
||||||
start_timestamp=self._start_processing_time,
|
start_timestamp=self._start_processing_time,
|
||||||
)
|
)
|
||||||
logger.debug(f"Sentry Span ID: {self._processing_metrics_span.span_id} Description: {
|
logger.debug(
|
||||||
self._processing_metrics_span.description} started.")
|
f"Sentry Span ID: {self._processing_metrics_span.span_id} Description: {
|
||||||
|
self._processing_metrics_span.description} started."
|
||||||
|
)
|
||||||
|
|
||||||
async def stop_processing_metrics(self):
|
async def stop_processing_metrics(self):
|
||||||
stop_time = time.time()
|
stop_time = time.time()
|
||||||
|
|||||||
Reference in New Issue
Block a user