Spaces:
Sleeping
Sleeping
Commit
·
ce200fa
1
Parent(s):
8a0a2d0
Update app
Browse files
app.py
CHANGED
|
@@ -3,9 +3,7 @@ import gradio as gr
|
|
| 3 |
import pandas as pd
|
| 4 |
import string
|
| 5 |
|
| 6 |
-
pipe = pipeline(model="matteocirca/whisper-small-it",return_timestamps="word")
|
| 7 |
-
#model = WhisperModel.from_pretrained("matteocirca/whisper-small-it")
|
| 8 |
-
#pipe = pipeline(model="openai/whisper-small",return_timestamps="word")
|
| 9 |
current_audio = None
|
| 10 |
segments = {}
|
| 11 |
|
|
|
|
| 3 |
import pandas as pd
|
| 4 |
import string
|
| 5 |
|
| 6 |
+
pipe = pipeline(model="matteocirca/whisper-small-it-2",return_timestamps="word")
|
|
|
|
|
|
|
| 7 |
current_audio = None
|
| 8 |
segments = {}
|
| 9 |
|