Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,8 +8,8 @@ from whisperspeech.pipeline import Pipeline
|
|
8 |
|
9 |
st.image('OIG3 (4).jpeg', caption='Your host on this PDF-to-Speech adventure!')
|
10 |
|
11 |
-
|
12 |
-
|
13 |
# TTS pipeline
|
14 |
|
15 |
x = st.slider('Select the number of pages you wish to transcribe')
|
|
|
8 |
|
9 |
st.image('OIG3 (4).jpeg', caption='Your host on this PDF-to-Speech adventure!')
|
10 |
|
11 |
+
st.write("⏳ Loading WhisperSpeech Pipeline ⌛")
|
12 |
+
pipe = Pipeline(torch_compile=True)
|
13 |
# TTS pipeline
|
14 |
|
15 |
x = st.slider('Select the number of pages you wish to transcribe')
|