Spaces:
Runtime error
Runtime error
add a title
Browse files
app.py
CHANGED
|
@@ -4,6 +4,8 @@ from transformers import pipeline
|
|
| 4 |
|
| 5 |
pipe = pipeline("automatic-speech-recognition", model="openai/whisper-large-v3")
|
| 6 |
|
|
|
|
|
|
|
| 7 |
uploaded_file = st.file_uploader("Choose a file")
|
| 8 |
if uploaded_file is not None:
|
| 9 |
result = pipe(uploaded_file)
|
|
|
|
| 4 |
|
| 5 |
pipe = pipeline("automatic-speech-recognition", model="openai/whisper-large-v3")
|
| 6 |
|
| 7 |
+
st.title('Upload an audio file :blue[cool] :sunglasses:')
|
| 8 |
+
|
| 9 |
uploaded_file = st.file_uploader("Choose a file")
|
| 10 |
if uploaded_file is not None:
|
| 11 |
result = pipe(uploaded_file)
|