Update app.py
Browse files
app.py
CHANGED
@@ -155,6 +155,12 @@ with gr.Blocks() as demo:
|
|
155 |
#clear_chat_button:hover {
|
156 |
background: linear-gradient(135deg, #c53030 0%, #e53e3e 100%); /* Slightly darker red gradient on hover */
|
157 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
158 |
</style>
|
159 |
""")
|
160 |
|
@@ -197,7 +203,7 @@ with gr.Blocks() as demo:
|
|
197 |
audio_upload = gr.File(label="Upload an Audio File", type="binary")
|
198 |
audio_query = gr.Textbox(label="Ask about the transcription")
|
199 |
audio_output = gr.Textbox(label="Response", interactive=False)
|
200 |
-
audio_button = gr.Button("Ask")
|
201 |
|
202 |
# Clear chat button
|
203 |
clear_button = gr.Button("Clear Chat",elem_id="clear_chat_button")
|
|
|
155 |
#clear_chat_button:hover {
|
156 |
background: linear-gradient(135deg, #c53030 0%, #e53e3e 100%); /* Slightly darker red gradient on hover */
|
157 |
}
|
158 |
+
#ask_button {
|
159 |
+
background: linear-gradient(135deg, #fbd38d 0%, #f6e05e 100%); /* Yellow gradient */
|
160 |
+
}
|
161 |
+
#ask_button:hover {
|
162 |
+
background: linear-gradient(135deg, #ecc94b 0%, #fbd38d 100%); /* Slightly darker yellow gradient on hover */
|
163 |
+
}
|
164 |
</style>
|
165 |
""")
|
166 |
|
|
|
203 |
audio_upload = gr.File(label="Upload an Audio File", type="binary")
|
204 |
audio_query = gr.Textbox(label="Ask about the transcription")
|
205 |
audio_output = gr.Textbox(label="Response", interactive=False)
|
206 |
+
audio_button = gr.Button("Ask",elem_id="ask_button")
|
207 |
|
208 |
# Clear chat button
|
209 |
clear_button = gr.Button("Clear Chat",elem_id="clear_chat_button")
|