Spaces:
Running
Running
import streamlit as st | |
from transformers import pipeline | |
st.title("Speech to Text") | |
audio_to_text = pipeline("automatic-speech-recognition") | |
audio_file = st.file_uploader("Upload an audio file", type=["wav", "mp3", "ogg"]) | |
st.write("or") | |
st.write("Record an audio") | |