Spaces:
Build error
Build error
Update app.py
Browse files681 unmodified lines68268368468568668768868969069169269369410 unmodified lines705706707708709710711681 unmodified lines}"""class MyCustomTheme(gr.themes.Base):def __init__(self):super().__init__()self.primary_hue = "#3498db" # Set a custom primary color#self.border_radius = gr.themes.Radius.SMALL # Custom border radiusself.button_primary_text = "#ffffff" # Button text colorself.button_primary_bg = "#2980b9" # Button background colordef submit_feedback(feedback, chatbot):gr.Info("Thank you for your feedback.")10 unmodified linesreturn gr.update(visible=False), gr.update(visible=False)with gr.Blocks(theme=MyCustomTheme(),css=css) as demo:gr.Markdown("<CENTER><h2 style='font-size: 20px; font-family: Calibri;'>NewageNXT 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")681 unmodified lines68268368468568668768810 unmodified lines699700701702703704705681 unmodified lines}"""def submit_feedback(feedback, chatbot):gr.Info("Thank you for your feedback.")10 unmodified linesreturn gr.update(visible=False), gr.update(visible=False)with gr.Blocks(css=css) as demo:gr.Markdown("<CENTER><h2 style='font-size: 20px; font-family: Calibri;'>NewageNXT 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")
app.py+2-8