Spaces:
Build error
Build error
Update app.py
Browse files681 unmodified lines6826836846856866876889 unmodified lines698699700701702703704681 unmodified lines}"""def submit_feedback(feedback, chatbot):gr.Info("Thank you for your feedback.")feedback_response = "User feedback: " + feedback9 unmodified linesreturn gr.update(visible=False), gr.update(visible=False)with gr.Blocks(theme=gr.themes.Monochrome(),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 lines6826836846856866876886896906916926936946959 unmodified lines705706707708709710711681 unmodified lines}"""class MyCustomTheme(gr.themes.Base):def __init__(self):super().__init__()self.primary_hue = "#3498db" # Set a custom primary colorself.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.")feedback_response = "User feedback: " + feedback9 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")
app.py+9-2