Kims12 commited on
Commit
9778ad8
ยท
verified ยท
1 Parent(s): ebe286c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +22 -4
app.py CHANGED
@@ -768,6 +768,27 @@ with gr.Blocks(css=custom_css) as demo:
768
  gr.HTML(header_html)
769
 
770
  with gr.Tabs(elem_classes="custom-tabs") as tabs:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
771
  with gr.TabItem("โœจ ์ด์ปค๋จธ์Šค ์ด๋ฏธ์ง€ ์ƒ์„ฑ๊ธฐ", elem_classes="tab-content"):
772
  with gr.Row(equal_height=True):
773
  with gr.Column(scale=1):
@@ -834,9 +855,6 @@ with gr.Blocks(css=custom_css) as demo:
834
  inputs=[image1_input, image2_input, image3_input, prompt_input]
835
  )
836
 
837
- # ์‚ฌ์šฉ์ž ๋งค๋‰ด์–ผ
838
- gr.HTML(user_manual_html)
839
-
840
  with gr.TabItem("๐Ÿ” ์ด๋ฏธ์ง€ ์—…์Šค์ผ€์ผ๋Ÿฌ", elem_classes="tab-content"):
841
  with gr.Row():
842
  with gr.Column(elem_classes="panel"):
@@ -861,7 +879,7 @@ with gr.Blocks(css=custom_css) as demo:
861
 
862
  gfpgan_btn = gr.Button('โœจ ์—…์Šค์ผ€์ผ ๋ฐ ๋ณต์›', elem_classes="custom-button primary")
863
 
864
- # ์ƒˆ๋กœ์šด ํƒญ: ๋ฐฐ๊ฒฝ ์ง€์šฐ๊ธฐ ๊ธฐ๋Šฅ
865
  with gr.TabItem("โœ‚๏ธ ๋ฐฐ๊ฒฝ ์ง€์šฐ๊ธฐ", elem_classes="tab-content"):
866
  with gr.Row():
867
  with gr.Column(elem_classes="panel"):
 
768
  gr.HTML(header_html)
769
 
770
  with gr.Tabs(elem_classes="custom-tabs") as tabs:
771
+ # ์‚ฌ์šฉ ์„ค๋ช…์„œ ํƒญ์„ ์ฒซ ๋ฒˆ์งธ๋กœ ๋ฐฐ์น˜
772
+ with gr.TabItem("๐Ÿ“š ์‚ฌ์šฉ ์„ค๋ช…์„œ", elem_classes="tab-content"):
773
+ gr.HTML(user_manual_html)
774
+
775
+ # ์ถ”๊ฐ€์ ์ธ ์‚ฌ์šฉ ์„ค๋ช… ๋‚ด์šฉ์ด ํ•„์š”ํ•˜๋‹ค๋ฉด ์—ฌ๊ธฐ์— ์ž‘์„ฑํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค
776
+ gr.HTML("""
777
+ <div class="manual-section">
778
+ <div class="manual-section-title"><i class="fas fa-question-circle"></i> ์ž์ฃผ ๋ฌป๋Š” ์งˆ๋ฌธ</div>
779
+ <p class="manual-text">
780
+ <strong style="font-size: 1.1rem; color: #5561e9;">Q: ์–ด๋–ค ํ˜•์‹์˜ ์ด๋ฏธ์ง€๋ฅผ ์—…๋กœ๋“œํ•  ์ˆ˜ ์žˆ๋‚˜์š”?</strong><br>
781
+ A: JPG, PNG, WEBP ๋“ฑ ๋Œ€๋ถ€๋ถ„์˜ ์ผ๋ฐ˜์ ์ธ ์ด๋ฏธ์ง€ ํ˜•์‹์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.<br><br>
782
+
783
+ <strong style="font-size: 1.1rem; color: #5561e9;">Q: ์ด๋ฏธ์ง€ ์ƒ์„ฑ ๋ฐ ์ฒ˜๋ฆฌ์— ์–ผ๋งˆ๋‚˜ ์‹œ๊ฐ„์ด ๊ฑธ๋ฆฌ๋‚˜์š”?</strong><br>
784
+ A: ์ผ๋ฐ˜์ ์œผ๋กœ 10-30์ดˆ ์ •๋„ ์†Œ์š”๋˜๋ฉฐ, ์ด๋ฏธ์ง€ ํฌ๊ธฐ์™€ ๋ณต์žก๋„์— ๋”ฐ๋ผ ๋‹ฌ๋ผ์งˆ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.<br><br>
785
+
786
+ <strong style="font-size: 1.1rem; color: #5561e9;">Q: ์ƒ์„ฑ๋œ ์ด๋ฏธ์ง€๋ฅผ ์–ด๋–ป๊ฒŒ ์ €์žฅํ•  ์ˆ˜ ์žˆ๋‚˜์š”?</strong><br>
787
+ A: ์ƒ์„ฑ๋œ ์ด๋ฏธ์ง€์— ๋งˆ์šฐ์Šค ์˜ค๋ฅธ์ชฝ ๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜์—ฌ '์ด๋ฏธ์ง€ ์ €์žฅ' ์˜ต์…˜์„ ์„ ํƒํ•˜๋ฉด ๋ฉ๋‹ˆ๋‹ค.
788
+ </p>
789
+ </div>
790
+ """)
791
+
792
  with gr.TabItem("โœจ ์ด์ปค๋จธ์Šค ์ด๋ฏธ์ง€ ์ƒ์„ฑ๊ธฐ", elem_classes="tab-content"):
793
  with gr.Row(equal_height=True):
794
  with gr.Column(scale=1):
 
855
  inputs=[image1_input, image2_input, image3_input, prompt_input]
856
  )
857
 
 
 
 
858
  with gr.TabItem("๐Ÿ” ์ด๋ฏธ์ง€ ์—…์Šค์ผ€์ผ๋Ÿฌ", elem_classes="tab-content"):
859
  with gr.Row():
860
  with gr.Column(elem_classes="panel"):
 
879
 
880
  gfpgan_btn = gr.Button('โœจ ์—…์Šค์ผ€์ผ ๋ฐ ๋ณต์›', elem_classes="custom-button primary")
881
 
882
+ # ๋ฐฐ๊ฒฝ ์ง€์šฐ๊ธฐ ํƒญ
883
  with gr.TabItem("โœ‚๏ธ ๋ฐฐ๊ฒฝ ์ง€์šฐ๊ธฐ", elem_classes="tab-content"):
884
  with gr.Row():
885
  with gr.Column(elem_classes="panel"):