Spaces:
Sleeping
Sleeping
hubsnippetai
commited on
Commit
•
09f794c
1
Parent(s):
1435f74
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ pipe = pipeline(
|
|
49 |
# prediction = pipe(sample.copy(), batch_size=8)["text"]
|
50 |
|
51 |
# we can also return timestamps for the predictions
|
52 |
-
prediction = pipe(sample.copy(), batch_size=8, return_timestamps=True)["chunks"]
|
53 |
|
54 |
|
55 |
def audio2text(audio_file, prompt : str | list):
|
|
|
49 |
# prediction = pipe(sample.copy(), batch_size=8)["text"]
|
50 |
|
51 |
# we can also return timestamps for the predictions
|
52 |
+
#prediction = pipe(sample.copy(), batch_size=8, return_timestamps=True)["chunks"]
|
53 |
|
54 |
|
55 |
def audio2text(audio_file, prompt : str | list):
|