openfree commited on
Commit
f76e5e4
ยท
1 Parent(s): a65c126

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +54 -16
app.py CHANGED
@@ -687,17 +687,17 @@ css = """
687
  }
688
  /* 2) ๋ฐฐ๊ฒฝ์„ ์™„์ „ํžˆ ํˆฌ๋ช…ํ•˜๊ฒŒ ๋ณ€๊ฒฝ */
689
  body {
690
- background: transparent; /* ๋‹จ์ƒ‰ ๋Œ€์‹  ํˆฌ๋ช… ๋ฐฐ๊ฒฝ ์‚ฌ์šฉ */
691
  margin: 0;
692
  padding: 0;
693
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
694
  color: #333;
695
  }
696
- /* ๋ฒ„ํŠผ๋„ ํˆฌ๋ช…ํ•˜๊ฒŒ ๋ณ€๊ฒฝ */
697
  button, .btn {
698
- background: rgba(255, 182, 193, 0.5) !important; /* ๋ฐฐ๊ฒฝ ํˆฌ๋ช…๋„ ์ฆ๊ฐ€ */
699
- border: none;
700
- color: #333; /* ๊ธ€์ž ์ž˜ ๋ณด์ด๋„๋ก ์•ฝ๊ฐ„ ์ง„ํ•œ ๊ธ€์”จ */
701
  padding: 12px 24px;
702
  text-transform: uppercase;
703
  font-weight: bold;
@@ -705,29 +705,67 @@ button, .btn {
705
  cursor: pointer;
706
  }
707
  button:hover, .btn:hover {
708
- background: rgba(255, 105, 180, 0.5) !important; /* ํ˜ธ๋ฒ„ ์ƒํƒœ์—์„œ๋„ ํˆฌ๋ช…๋„ ์œ ์ง€ */
709
  }
710
- #examples_container {
 
 
711
  margin: auto;
712
  width: 90%;
713
- background: rgba(255, 255, 255, 0.5); /* ์˜ˆ์ œ ์ปจํ…Œ์ด๋„ˆ ๋ฐฐ๊ฒฝ ํˆฌ๋ช…ํ•˜๊ฒŒ */
714
  }
715
- #examples_row {
716
  justify-content: center;
717
- background: transparent;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
718
  }
 
719
  /* ์ฑ„ํŒ… ์ธํ„ฐํŽ˜์ด์Šค ์š”์†Œ๋“ค๋„ ํˆฌ๋ช…ํ•˜๊ฒŒ */
720
  .chatbox, .chatbot, .message {
721
- background: rgba(255, 255, 255, 0.5) !important;
722
  }
 
723
  /* ์ž…๋ ฅ์ฐฝ ํˆฌ๋ช…๋„ ์กฐ์ • */
724
- .multimodal-textbox {
725
- background: rgba(255, 255, 255, 0.7) !important;
726
- }
727
- /* ๋ชจ๋“  ์ปจํ…Œ์ด๋„ˆ ์š”์†Œ์— ํˆฌ๋ช…๋„ ์ ์šฉ */
728
- .container, .wrap, .box, .panel {
729
  background: rgba(255, 255, 255, 0.5) !important;
730
  }
 
 
 
 
 
 
 
 
 
 
731
  """
732
 
733
  title_html = """
 
687
  }
688
  /* 2) ๋ฐฐ๊ฒฝ์„ ์™„์ „ํžˆ ํˆฌ๋ช…ํ•˜๊ฒŒ ๋ณ€๊ฒฝ */
689
  body {
690
+ background: transparent; /* ์™„์ „ ํˆฌ๋ช… ๋ฐฐ๊ฒฝ */
691
  margin: 0;
692
  padding: 0;
693
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
694
  color: #333;
695
  }
696
+ /* ๋ฒ„ํŠผ ์ƒ‰์ƒ ์™„์ „ํžˆ ์ œ๊ฑฐํ•˜๊ณ  ํˆฌ๋ช…ํ•˜๊ฒŒ */
697
  button, .btn {
698
+ background: transparent !important; /* ์ƒ‰์ƒ ์™„์ „ํžˆ ์ œ๊ฑฐ */
699
+ border: 1px solid #ddd; /* ๊ฒฝ๊ณ„์„ ๋งŒ ์‚ด์ง ์ถ”๊ฐ€ */
700
+ color: #333;
701
  padding: 12px 24px;
702
  text-transform: uppercase;
703
  font-weight: bold;
 
705
  cursor: pointer;
706
  }
707
  button:hover, .btn:hover {
708
+ background: rgba(0, 0, 0, 0.05) !important; /* ํ˜ธ๋ฒ„ ์‹œ ์•„์ฃผ ์‚ด์ง ์–ด๋‘ก๊ฒŒ๋งŒ */
709
  }
710
+
711
+ /* examples ๊ด€๋ จ ๋ชจ๋“  ์ƒ‰์ƒ ์ œ๊ฑฐ */
712
+ #examples_container, .examples-container {
713
  margin: auto;
714
  width: 90%;
715
+ background: transparent !important;
716
  }
717
+ #examples_row, .examples-row {
718
  justify-content: center;
719
+ background: transparent !important;
720
+ }
721
+
722
+ /* examples ๋ฒ„ํŠผ ๋‚ด๋ถ€์˜ ๋ชจ๋“  ์ƒ‰์ƒ ์ œ๊ฑฐ */
723
+ .gr-samples-table button,
724
+ .gr-samples-table .gr-button,
725
+ .gr-samples-table .gr-sample-btn,
726
+ .gr-examples button,
727
+ .gr-examples .gr-button,
728
+ .gr-examples .gr-sample-btn,
729
+ .examples button,
730
+ .examples .gr-button,
731
+ .examples .gr-sample-btn {
732
+ background: transparent !important;
733
+ border: 1px solid #ddd;
734
+ color: #333;
735
+ }
736
+
737
+ /* examples ๋ฒ„ํŠผ ํ˜ธ๋ฒ„ ์‹œ์—๋„ ์ƒ‰์ƒ ์—†๊ฒŒ */
738
+ .gr-samples-table button:hover,
739
+ .gr-samples-table .gr-button:hover,
740
+ .gr-samples-table .gr-sample-btn:hover,
741
+ .gr-examples button:hover,
742
+ .gr-examples .gr-button:hover,
743
+ .gr-examples .gr-sample-btn:hover,
744
+ .examples button:hover,
745
+ .examples .gr-button:hover,
746
+ .examples .gr-sample-btn:hover {
747
+ background: rgba(0, 0, 0, 0.05) !important;
748
  }
749
+
750
  /* ์ฑ„ํŒ… ์ธํ„ฐํŽ˜์ด์Šค ์š”์†Œ๋“ค๋„ ํˆฌ๋ช…ํ•˜๊ฒŒ */
751
  .chatbox, .chatbot, .message {
752
+ background: transparent !important;
753
  }
754
+
755
  /* ์ž…๋ ฅ์ฐฝ ํˆฌ๋ช…๋„ ์กฐ์ • */
756
+ .multimodal-textbox, textarea, input {
 
 
 
 
757
  background: rgba(255, 255, 255, 0.5) !important;
758
  }
759
+
760
+ /* ๋ชจ๋“  ์ปจํ…Œ์ด๋„ˆ ์š”์†Œ์— ๋ฐฐ๊ฒฝ์ƒ‰ ์ œ๊ฑฐ */
761
+ .container, .wrap, .box, .panel, .gr-panel {
762
+ background: transparent !important;
763
+ }
764
+
765
+ /* ์˜ˆ์ œ ์„น์…˜์˜ ๋ชจ๋“  ์š”์†Œ์—์„œ ๋ฐฐ๊ฒฝ์ƒ‰ ์ œ๊ฑฐ */
766
+ .gr-examples-container, .gr-examples, .gr-sample, .gr-sample-row, .gr-sample-cell {
767
+ background: transparent !important;
768
+ }
769
  """
770
 
771
  title_html = """