speech-to-text / app.py
cptsubtext
Add API Token Secret and page config
496c5b5
raw
history blame
282 Bytes
import streamlit as st
import requests
import os
# Variables
api_token = st.secrets["API_TOKEN"]
# Page Title
st.set_page_config(
page_title="Speech-to-Text Transcription App", page_icon="πŸ‘„", layout="wide"
)
x = st.slider('Select a value')
st.write(x, 'squared is', x * x)