Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -218,7 +218,15 @@ def transcribe_audio(filepath):
|
|
218 |
return f"Transcription failed: {e}"
|
219 |
|
220 |
# ================== Gradio UI ==================
|
221 |
-
with gr.Blocks(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
222 |
gr.Markdown("# Qwen2.5 Chatbot with Voice Input/Output")
|
223 |
|
224 |
with gr.Tab("Chat"):
|
|
|
218 |
return f"Transcription failed: {e}"
|
219 |
|
220 |
# ================== Gradio UI ==================
|
221 |
+
with gr.Blocks(head="""
|
222 |
+
<script src="https://cdn.tailwindcss.com "></script>
|
223 |
+
""") as demo:
|
224 |
+
gr.HTML("""
|
225 |
+
<div class="max-w-md mx-auto p-6 bg-white rounded-lg shadow-md">
|
226 |
+
<h2 class="text-2xl font-bold text-gray-800">Chatbot Interface</h2>
|
227 |
+
<p class="mt-2 text-gray-600">Powered by Gradio and TailwindCSS</p>
|
228 |
+
</div>
|
229 |
+
""")
|
230 |
gr.Markdown("# Qwen2.5 Chatbot with Voice Input/Output")
|
231 |
|
232 |
with gr.Tab("Chat"):
|