Spaces:
Running
Running
Update inference.py
Browse files- inference.py +1 -1
inference.py
CHANGED
@@ -281,7 +281,7 @@ def main(video_path):
|
|
281 |
client = Groq(api_key=groq_key)
|
282 |
video = VideoFileClip(video_path)
|
283 |
video_duration = video.duration # in seconds
|
284 |
-
tts_speed = 1.
|
285 |
clean_commentary = summarize_commentary(raw_commentary, client, video_duration, tts_speed)
|
286 |
|
287 |
# Text to speech
|
|
|
281 |
client = Groq(api_key=groq_key)
|
282 |
video = VideoFileClip(video_path)
|
283 |
video_duration = video.duration # in seconds
|
284 |
+
tts_speed = 1.11 # adjust as needed
|
285 |
clean_commentary = summarize_commentary(raw_commentary, client, video_duration, tts_speed)
|
286 |
|
287 |
# Text to speech
|