Spaces:
Sleeping
Sleeping
cptsubtext
commited on
Commit
·
737ca30
1
Parent(s):
12725ae
First UI
Browse files
app.py
CHANGED
|
@@ -25,7 +25,38 @@ def _max_width_():
|
|
| 25 |
|
| 26 |
_max_width_()
|
| 27 |
|
| 28 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
|
| 30 |
def main():
|
| 31 |
pages = {
|
|
|
|
| 25 |
|
| 26 |
_max_width_()
|
| 27 |
|
| 28 |
+
# logo and header -------------------------------------------------
|
| 29 |
+
|
| 30 |
+
c30, c31, c32 = st.columns([2.5, 1, 3])
|
| 31 |
+
|
| 32 |
+
with c30:
|
| 33 |
+
st.image("logo.png", width=350)
|
| 34 |
+
st.header("")
|
| 35 |
+
|
| 36 |
+
with c32:
|
| 37 |
+
|
| 38 |
+
st.title("")
|
| 39 |
+
st.title("")
|
| 40 |
+
st.caption("")
|
| 41 |
+
st.caption("")
|
| 42 |
+
st.caption("")
|
| 43 |
+
st.caption("")
|
| 44 |
+
st.caption("")
|
| 45 |
+
st.caption("")
|
| 46 |
+
|
| 47 |
+
st.write(
|
| 48 |
+
"    Made in [](https://www.streamlit.io/) , with :heart: by [@DataChaz](https://www.charlywargnier.com/) | [](https://www.buymeacoffee.com/cwar05)"
|
| 49 |
+
)
|
| 50 |
+
|
| 51 |
+
st.text("")
|
| 52 |
+
st.markdown(
|
| 53 |
+
f"""
|
| 54 |
+
The speech to text recognition is done via the [Facebook's Wav2Vec2 model.](https://huggingface.co/facebook/wav2vec2-large-960h)
|
| 55 |
+
"""
|
| 56 |
+
)
|
| 57 |
+
st.text("")
|
| 58 |
+
|
| 59 |
+
# region Main
|
| 60 |
|
| 61 |
def main():
|
| 62 |
pages = {
|