Spaces:
Build error
Build error
Rename Step4_voice.py to app.py
Browse files- Step4_voice.py → app.py +0 -9
Step4_voice.py → app.py
RENAMED
@@ -127,15 +127,6 @@ for message in st.session_state.messages:
|
|
127 |
with st.chat_message(message["role"]):
|
128 |
st.markdown(message["content"])
|
129 |
|
130 |
-
# User Input and AI Response
|
131 |
-
# if st.sidebar.button(":microphone: Record Audio"):
|
132 |
-
# st.audio(None, format="audio/wav", start_time=0)
|
133 |
-
# recorded_audio = st.audio_recorder(key="audio_recorder")
|
134 |
-
|
135 |
-
# if recorded_audio:
|
136 |
-
# st.success("Recording complete. Click 'Generate Response' to transcribe and generate AI response.")
|
137 |
-
|
138 |
-
|
139 |
|
140 |
# User Input and AI Response
|
141 |
# For "Chat mode"
|
|
|
127 |
with st.chat_message(message["role"]):
|
128 |
st.markdown(message["content"])
|
129 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
130 |
|
131 |
# User Input and AI Response
|
132 |
# For "Chat mode"
|