openfree commited on
Commit
1ddc7cb
ยท
verified ยท
1 Parent(s): 41f2f65

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +20 -9
app.py CHANGED
@@ -675,7 +675,7 @@ examples = [
675
  css = """
676
  /* 1) UI๋ฅผ ์ฒ˜์Œ๋ถ€ํ„ฐ ๊ฐ€์žฅ ๋„“๊ฒŒ (width 100%) ๊ณ ์ •ํ•˜์—ฌ ํ‘œ์‹œ */
677
  .gradio-container {
678
- background: rgba(255, 255, 255, 0.95);
679
  padding: 30px 40px;
680
  margin: 20px auto; /* ์œ„์•„๋ž˜ ์—ฌ๋ฐฑ๋งŒ ์œ ์ง€ */
681
  width: 100% !important;
@@ -685,37 +685,48 @@ css = """
685
  width: 100% !important;
686
  max-width: 100% !important;
687
  }
688
- /* 2) ๋ฐฐ๊ฒฝ์„ ์—ฐํ•˜๊ณ  ํˆฌ๋ช…ํ•œ ํŒŒ์Šคํ…” ํ†ค ๊ทธ๋ผ๋””์–ธํŠธ๋กœ ๋ณ€๊ฒฝ */
689
  body {
690
- background: #f5f5f5; /* ๊ทธ๋ผ๋””์–ธํŠธ ๋Œ€์‹  ๋‹จ์ƒ‰ ์‚ฌ์šฉ */
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: #ffb6c1 !important; /* ๊ทธ๋ผ๋””์–ธํŠธ ๋Œ€์‹  ๋‹จ์ƒ‰ ์‚ฌ์šฉ */
699
  border: none;
700
  color: #333; /* ๊ธ€์ž ์ž˜ ๋ณด์ด๋„๋ก ์•ฝ๊ฐ„ ์ง„ํ•œ ๊ธ€์”จ */
701
  padding: 12px 24px;
702
  text-transform: uppercase;
703
  font-weight: bold;
704
  letter-spacing: 1px;
705
- /* border-radius: 5px; - ๋ฌธ์ œ ๋ถ€๋ถ„ ์ œ๊ฑฐ */
706
  cursor: pointer;
707
- /* transition: transform 0.2s ease-in-out; - ํ˜น์‹œ ๋ชจ๋ฅผ ๋ฌธ์ œ ๋ถ€๋ถ„ ์ œ๊ฑฐ */
708
  }
709
  button:hover, .btn:hover {
710
- /* transform: scale(1.03); - ํ˜น์‹œ ๋ชจ๋ฅผ ๋ฌธ์ œ ๋ถ€๋ถ„ ์ œ๊ฑฐ */
711
- background: #ff69b4 !important;
712
  }
713
  #examples_container {
714
  margin: auto;
715
  width: 90%;
 
716
  }
717
  #examples_row {
718
  justify-content: center;
 
 
 
 
 
 
 
 
 
 
 
 
 
719
  }
720
  """
721
 
 
675
  css = """
676
  /* 1) UI๋ฅผ ์ฒ˜์Œ๋ถ€ํ„ฐ ๊ฐ€์žฅ ๋„“๊ฒŒ (width 100%) ๊ณ ์ •ํ•˜์—ฌ ํ‘œ์‹œ */
677
  .gradio-container {
678
+ background: rgba(255, 255, 255, 0.7); /* ๋ฐฐ๊ฒฝ ํˆฌ๋ช…๋„ ์ฆ๊ฐ€ */
679
  padding: 30px 40px;
680
  margin: 20px auto; /* ์œ„์•„๋ž˜ ์—ฌ๋ฐฑ๋งŒ ์œ ์ง€ */
681
  width: 100% !important;
 
685
  width: 100% !important;
686
  max-width: 100% !important;
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;
704
  letter-spacing: 1px;
 
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