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