Spaces:
Running
Running
Update pages.py
Browse files
pages.py
CHANGED
@@ -80,7 +80,7 @@ def specify_audio_fragment():
|
|
80 |
|
81 |
if sample_name and st.session_state.on_select:
|
82 |
audio_bytes = open(f"audio_samples/{sample_name}.wav", "rb").read()
|
83 |
-
st.session_state.default_instruction = AUDIO_SAMPLES_W_INSTRUCT[sample_name]
|
84 |
_update_audio(audio_bytes)
|
85 |
|
86 |
|
|
|
80 |
|
81 |
if sample_name and st.session_state.on_select:
|
82 |
audio_bytes = open(f"audio_samples/{sample_name}.wav", "rb").read()
|
83 |
+
st.session_state.default_instruction = AUDIO_SAMPLES_W_INSTRUCT[sample_name] + GENERAL_INSTRUCTIONS
|
84 |
_update_audio(audio_bytes)
|
85 |
|
86 |
|