ajsbsd commited on
Commit
6967772
·
verified ·
1 Parent(s): 4931f4c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
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() as demo:
 
 
 
 
 
 
 
 
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"):