Spaces:
Runtime error
Runtime error
updated the code with the changes ✅✅
Browse files464 unmodified lines465466467468469470471470472473474475476477478479480481482483484485486487488489490491100 unmodified lines592593594595596597598599464 unmodified lines logging.warning(f"Could not get URL parameters: {str(e)}") appointment_id_value = ""
# Appointment ID Textbox (hidden) appointment_id = gr.Textbox( label="Appointment ID", visible=False, value=appointment_id_value value=appointment_id_value if appointment_id_value else "" )
# Function to load appointment ID from URL parameters def load_appointment_id(): try: from gradio.context import Context if hasattr(Context, 'request') and Context.request: return Context.request.query_params.get("appointment_id", "") except: pass return ""
# Load appointment ID when interface loads interface.load( fn=load_appointment_id, outputs=appointment_id )
gr.Markdown("""100 unmodified lines This tool is for educational and research purposes only. It is not intended to provide medical advice or replace professional healthcare. Always consult with qualified healthcare providers for medical decisions. """)
# Consultation completion section with gr.Row(): with gr.Column():mediSync/app.py+21-1