Daniel Tse
commited on
Commit
·
3277eaa
1
Parent(s):
2040736
Remove functions import
Browse files
app.py
CHANGED
|
@@ -1,7 +1,6 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
import whisper
|
| 3 |
import os
|
| 4 |
-
import * from functions
|
| 5 |
from transformers import pipeline
|
| 6 |
|
| 7 |
def transcribe_audio(audiofile):
|
|
@@ -29,7 +28,7 @@ st.markdown(
|
|
| 29 |
"""
|
| 30 |
)
|
| 31 |
|
| 32 |
-
if st.button("Process Audio File")
|
| 33 |
transcribe_audio("marketplace-2023-06-14.mp3")
|
| 34 |
|
| 35 |
#audio_file = st.file_uploader("Upload audio copy of file", key="upload", type=['.mp3'])
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
import whisper
|
| 3 |
import os
|
|
|
|
| 4 |
from transformers import pipeline
|
| 5 |
|
| 6 |
def transcribe_audio(audiofile):
|
|
|
|
| 28 |
"""
|
| 29 |
)
|
| 30 |
|
| 31 |
+
if st.button("Process Audio File"):
|
| 32 |
transcribe_audio("marketplace-2023-06-14.mp3")
|
| 33 |
|
| 34 |
#audio_file = st.file_uploader("Upload audio copy of file", key="upload", type=['.mp3'])
|