Spaces:
Sleeping
Sleeping
cptsubtext
commited on
Commit
·
496c5b5
1
Parent(s):
7ff8b05
Add API Token Secret and page config
Browse files
app.py
CHANGED
@@ -1,4 +1,14 @@
|
|
1 |
import streamlit as st
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
x = st.slider('Select a value')
|
4 |
st.write(x, 'squared is', x * x)
|
|
|
1 |
import streamlit as st
|
2 |
+
import requests
|
3 |
+
import os
|
4 |
+
|
5 |
+
# Variables
|
6 |
+
api_token = st.secrets["API_TOKEN"]
|
7 |
+
|
8 |
+
# Page Title
|
9 |
+
st.set_page_config(
|
10 |
+
page_title="Speech-to-Text Transcription App", page_icon="👄", layout="wide"
|
11 |
+
)
|
12 |
|
13 |
x = st.slider('Select a value')
|
14 |
st.write(x, 'squared is', x * x)
|