Spaces:
Runtime error
Runtime error
Commit
·
93acf16
1
Parent(s):
d6fc925
Add code
Browse files
app.py
CHANGED
|
@@ -205,7 +205,7 @@ def generate_base(subject, setting, ):
|
|
| 205 |
gr.Info("Story Generated", duration=3)
|
| 206 |
story = response.choices[0].message.content
|
| 207 |
|
| 208 |
-
play_steps_in_s =
|
| 209 |
play_steps = int(frame_rate * play_steps_in_s)
|
| 210 |
streamer = ParlerTTSStreamer(model, device=device, play_steps=play_steps)
|
| 211 |
|
|
|
|
| 205 |
gr.Info("Story Generated", duration=3)
|
| 206 |
story = response.choices[0].message.content
|
| 207 |
|
| 208 |
+
play_steps_in_s = 4.0
|
| 209 |
play_steps = int(frame_rate * play_steps_in_s)
|
| 210 |
streamer = ParlerTTSStreamer(model, device=device, play_steps=play_steps)
|
| 211 |
|