Spaces:
Running
Running
Update pages.py
Browse files
pages.py
CHANGED
@@ -20,7 +20,7 @@ def audio_llm():
|
|
20 |
<p>Speech Instruction</p>
|
21 |
<p>Paralinguistics</p>
|
22 |
<br>
|
23 |
-
<p><strong>π
|
24 |
</div>""", unsafe_allow_html=True)
|
25 |
|
26 |
st.slider(label='Temperature', min_value=0.0, max_value=2.0, value=0.7, key='temperature')
|
@@ -58,7 +58,7 @@ def audio_llm():
|
|
58 |
col1, col2, col3 = st.columns([4, 4, 1])
|
59 |
|
60 |
with col3:
|
61 |
-
st.markdown("**Record Audio:**")
|
62 |
|
63 |
recording = mic_recorder(
|
64 |
format="wav",
|
@@ -72,7 +72,7 @@ def audio_llm():
|
|
72 |
st.session_state.audio_array = bytes_to_array(audio_bytes)
|
73 |
|
74 |
with col2:
|
75 |
-
st.markdown("**Upload Audio:**")
|
76 |
|
77 |
uploaded_file = st.file_uploader(
|
78 |
label="**Upload Audio:**",
|
|
|
20 |
<p>Speech Instruction</p>
|
21 |
<p>Paralinguistics</p>
|
22 |
<br>
|
23 |
+
<p><strong>π Generation Config</strong>
|
24 |
</div>""", unsafe_allow_html=True)
|
25 |
|
26 |
st.slider(label='Temperature', min_value=0.0, max_value=2.0, value=0.7, key='temperature')
|
|
|
58 |
col1, col2, col3 = st.columns([4, 4, 1])
|
59 |
|
60 |
with col3:
|
61 |
+
st.markdown("or **Record Audio:**")
|
62 |
|
63 |
recording = mic_recorder(
|
64 |
format="wav",
|
|
|
72 |
st.session_state.audio_array = bytes_to_array(audio_bytes)
|
73 |
|
74 |
with col2:
|
75 |
+
st.markdown("or **Upload Audio:**")
|
76 |
|
77 |
uploaded_file = st.file_uploader(
|
78 |
label="**Upload Audio:**",
|