Spaces:
Build error
Build error
Update app.py
Browse files702 unmodified lines703704705706707708709710711702 unmodified linesprint("upvote")return gr.update(visible=False), gr.update(visible=False)with gr.Blocks(css=css) as demo:gr.Markdown("<CENTER><h2 style='font-size: 22px; font-family: Calibri;'>RedMind GPT</h2></CENTER>")with gr.Row():sample_button = gr.Button("What is the expected receiving date and the status of ASN24081900001", elem_classes="custom-button" , elem_id="button1")sample_button1 = gr.Button("What are the active warehouses available", elem_classes="custom-button", elem_id="button2")702 unmodified lines703704705706707708709710711712713714715716702 unmodified linesprint("upvote")return gr.update(visible=False), gr.update(visible=False)def update_message(request: gr.Request):return f"<h4 style='font-size: 22px; font-family: Calibri;'>Welcome, {request.username}</h4>"with gr.Blocks(css=css) as demo:gr.Markdown("<CENTER><h1 style='font-size: 22px; font-family: Calibri;'>RedMind GPT</h1></CENTER>")m=gr.Markdown()demo.load(update_message, None, m)logout_button = gr.Button("Logout", link="/logout")with gr.Row():sample_button = gr.Button("What is the expected receiving date and the status of ASN24081900001", elem_classes="custom-button" , elem_id="button1")sample_button1 = gr.Button("What are the active warehouses available", elem_classes="custom-button", elem_id="button2")
app.py+7-2