Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -682,13 +682,7 @@ css = """
|
|
682 |
}
|
683 |
|
684 |
"""
|
685 |
-
|
686 |
-
def __init__(self):
|
687 |
-
super().__init__()
|
688 |
-
self.primary_hue = "#3498db" # Set a custom primary color
|
689 |
-
#self.border_radius = gr.themes.Radius.SMALL # Custom border radius
|
690 |
-
self.button_primary_text = "#ffffff" # Button text color
|
691 |
-
self.button_primary_bg = "#2980b9" # Button background color
|
692 |
|
693 |
def submit_feedback(feedback, chatbot):
|
694 |
gr.Info("Thank you for your feedback.")
|
@@ -705,7 +699,7 @@ def handle_dislike(data: gr.LikeData):
|
|
705 |
return gr.update(visible=False), gr.update(visible=False)
|
706 |
|
707 |
|
708 |
-
with gr.Blocks(
|
709 |
gr.Markdown("<CENTER><h2 style='font-size: 20px; font-family: Calibri;'>NewageNXT GPT</h2></CENTER>")
|
710 |
with gr.Row():
|
711 |
sample_button = gr.Button("What is the expected receiving date and the status of ASN24081900001", elem_classes="custom-button" , elem_id="button1")
|
|
|
682 |
}
|
683 |
|
684 |
"""
|
685 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
686 |
|
687 |
def submit_feedback(feedback, chatbot):
|
688 |
gr.Info("Thank you for your feedback.")
|
|
|
699 |
return gr.update(visible=False), gr.update(visible=False)
|
700 |
|
701 |
|
702 |
+
with gr.Blocks(css=css) as demo:
|
703 |
gr.Markdown("<CENTER><h2 style='font-size: 20px; font-family: Calibri;'>NewageNXT GPT</h2></CENTER>")
|
704 |
with gr.Row():
|
705 |
sample_button = gr.Button("What is the expected receiving date and the status of ASN24081900001", elem_classes="custom-button" , elem_id="button1")
|