Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
|
3 |
+
st.title("Talkshow")
|
4 |
+
|
5 |
+
col1, col2 = st.columns([1, 2])
|
6 |
+
|
7 |
+
with col1:
|
8 |
+
st.write("Upload a .mp3")
|
9 |
+
uploaded_file = st.file_uploader("Upload", type=["mp3"])
|
10 |
+
|
11 |
+
with col2:
|
12 |
+
st.write("Demo .gif")
|
13 |
+
uploaded_gif = st.file_uploader("Upload", type=["gif"])
|
14 |
+
|
15 |
+
st.write("Upload a .wav")
|
16 |
+
uploaded_wav = st.file_uploader("Upload", type=["wav"])
|
17 |
+
|
18 |
+
# Add your ML model code here
|
19 |
+
# ...
|
20 |
+
|
21 |
+
# Display results or predictions
|
22 |
+
# ...
|