Update app.py
Browse files102 unmodified lines1031041051061071081091 unmodified line111112113114115116117102 unmodified linesEmpowering NYSC corps members to plan, align, and scale their CDS projects with the UN SDGs.""")chatbot = gr.Chatbot(elem_id="chatbot", label="ChatCDS", show_label=False)with gr.Row():with gr.Column(scale=4):txt_input = gr.Textbox(1 unmodified lineplaceholder="Ask about your CDS idea, SDG, or project plan...",lines=3,)voice_input = gr.Audio(source="microphone", type="filepath", label="🎤 Speak your message (optional)")with gr.Column(scale=1, min_width=100):submit_btn = gr.Button("🚀 Send", variant="primary", elem_id="send-btn")102 unmodified lines1031041051061071081091101111121131141151 unmodified line117118119120121122123124125126102 unmodified linesEmpowering NYSC corps members to plan, align, and scale their CDS projects with the UN SDGs.""")chatbot = gr.Chatbot(elem_id="chatbot",label="ChatCDS",show_label=False,type="messages" # Updated for Gradio compatibility)with gr.Row():with gr.Column(scale=4):txt_input = gr.Textbox(1 unmodified lineplaceholder="Ask about your CDS idea, SDG, or project plan...",lines=3,)voice_input = gr.Audio(label="🎤 Speak your message (optional)",type="filepath" # Removed deprecated 'source' argument)with gr.Column(scale=1, min_width=100):submit_btn = gr.Button("🚀 Send", variant="primary", elem_id="send-btn")
app.py+11-2