Redmind commited on
Commit
b34d5f3
·
verified ·
1 Parent(s): 2a0111a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -634,7 +634,7 @@ css = """
634
  cursor: pointer;
635
  }
636
  .custom-button {
637
- background-color: #4CAF50; /* Initial Green */
638
  border: none;
639
  color: black;
640
  padding: 15px 32px;
@@ -651,7 +651,7 @@ css = """
651
  }
652
 
653
  .custom-button:hover {
654
- background-color: #45a049; /* Darker Green on hover */
655
  transform: scale(1.1); /* Scale up slightly on hover */
656
  }
657
 
@@ -698,7 +698,7 @@ def handle_dislike(data: gr.LikeData):
698
  return gr.update(visible=False), gr.update(visible=False)
699
 
700
 
701
- with gr.Blocks(css=css) as demo:
702
  gr.Markdown("<CENTER><h2 style='font-size: 20px; font-family: Calibri;'>NewageNXT GPT</h2></CENTER>")
703
  with gr.Row():
704
  sample_button = gr.Button("What is the expected receiving date and the status of ASN24081900001", elem_classes="custom-button" , elem_id="button1")
 
634
  cursor: pointer;
635
  }
636
  .custom-button {
637
+ /* background-color: #4CAF50; Initial Green */
638
  border: none;
639
  color: black;
640
  padding: 15px 32px;
 
651
  }
652
 
653
  .custom-button:hover {
654
+ /* background-color: #45a049; Darker Green on hover */
655
  transform: scale(1.1); /* Scale up slightly on hover */
656
  }
657
 
 
698
  return gr.update(visible=False), gr.update(visible=False)
699
 
700
 
701
+ with gr.Blocks(theme=gr.themes.Soft(),css=css) as demo:
702
  gr.Markdown("<CENTER><h2 style='font-size: 20px; font-family: Calibri;'>NewageNXT GPT</h2></CENTER>")
703
  with gr.Row():
704
  sample_button = gr.Button("What is the expected receiving date and the status of ASN24081900001", elem_classes="custom-button" , elem_id="button1")