aiqtech commited on
Commit
e043685
ยท
verified ยท
1 Parent(s): 18aee2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -11
app.py CHANGED
@@ -407,13 +407,13 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
407
 
408
  with gr.TabItem("๐ŸŽจ Multiple Images", id="multiple") as multi_tab:
409
  gallery_input = gr.Gallery(
410
- label="Input Images",
411
  file_types=["image"],
412
  elem_classes="gallery-input"
413
  )
414
  gr.HTML('''
415
  <p style="text-align: center; color: #6b7280; font-size: 0.9rem; margin-top: 0.5rem;">
416
- ๐Ÿ’ก Drag and drop multiple images here
417
  </p>
418
  ''')
419
 
@@ -474,7 +474,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
474
  <ul style="margin: 0; padding-left: 1.5rem; color: #0c4a6e;">
475
  <li>Use specific and detailed prompts for better results</li>
476
  <li>You can reuse generated images for iterative improvements</li>
477
- <li>Multiple image mode allows you to combine reference images</li>
478
  <li>English prompts tend to produce better results</li>
479
  </ul>
480
  </div>
@@ -539,21 +539,21 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
539
  else:
540
  message = '''
541
  <div class="login-message">
542
- <h2>๐Ÿ” ๋กœ๊ทธ์ธ์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค</h2>
543
  <p style="font-size: 1.1rem; margin: 1rem 0;">
544
- ์ด AI ์ด๋ฏธ์ง€ ์ƒ์„ฑ ๋„๊ตฌ๋ฅผ ์‚ฌ์šฉํ•˜๋ ค๋ฉด Hugging Face ๊ณ„์ •์œผ๋กœ ๋กœ๊ทธ์ธํ•ด์ฃผ์„ธ์š”.
545
  </p>
546
  <p style="margin: 1rem 0;">
547
- ๋กœ๊ทธ์ธํ•˜๋ฉด ๋‹ค์Œ ๊ธฐ๋Šฅ์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค:
548
  </p>
549
  <ul style="text-align: left; display: inline-block; margin: 1rem 0;">
550
- <li>๐Ÿš€ Google Nano Banana๋ฅผ ํ†ตํ•œ ๊ณ ํ’ˆ์งˆ ์ด๋ฏธ์ง€ ์ƒ์„ฑ</li>
551
- <li>โšก ๋น ๋ฅธ ์ด๋ฏธ์ง€ ์ƒ์„ฑ ๋ฐ ํŽธ์ง‘</li>
552
- <li>๐ŸŽจ ํ…์ŠคํŠธ๋ฅผ ์ด๋ฏธ์ง€๋กœ ๋ณ€ํ™˜</li>
553
- <li>๐Ÿ”ง ๋‹ค์ค‘ ์ด๋ฏธ์ง€ ํŽธ์ง‘ ๋ฐ ๊ฒฐํ•ฉ</li>
554
  </ul>
555
  <p style="margin-top: 1.5rem; font-weight: bold;">
556
- ์ƒ๋‹จ์˜ "Sign in with Hugging Face" ๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜์—ฌ ์‹œ์ž‘ํ•˜์„ธ์š”!
557
  </p>
558
  </div>
559
  '''
 
407
 
408
  with gr.TabItem("๐ŸŽจ Multiple Images", id="multiple") as multi_tab:
409
  gallery_input = gr.Gallery(
410
+ label="Input Images (Max 2 images)",
411
  file_types=["image"],
412
  elem_classes="gallery-input"
413
  )
414
  gr.HTML('''
415
  <p style="text-align: center; color: #6b7280; font-size: 0.9rem; margin-top: 0.5rem;">
416
+ ๐Ÿ’ก Upload up to 2 images for combination/editing
417
  </p>
418
  ''')
419
 
 
474
  <ul style="margin: 0; padding-left: 1.5rem; color: #0c4a6e;">
475
  <li>Use specific and detailed prompts for better results</li>
476
  <li>You can reuse generated images for iterative improvements</li>
477
+ <li>Multiple image mode supports up to 2 images for combination</li>
478
  <li>English prompts tend to produce better results</li>
479
  </ul>
480
  </div>
 
539
  else:
540
  message = '''
541
  <div class="login-message">
542
+ <h2>๐Ÿ” Login Required</h2>
543
  <p style="font-size: 1.1rem; margin: 1rem 0;">
544
+ Please sign in with your Hugging Face account to use this AI image generation tool.
545
  </p>
546
  <p style="margin: 1rem 0;">
547
+ After logging in, you can access:
548
  </p>
549
  <ul style="text-align: left; display: inline-block; margin: 1rem 0;">
550
+ <li>๐Ÿš€ High-quality image generation via Google Nano Banana</li>
551
+ <li>โšก Fast image generation and editing</li>
552
+ <li>๐ŸŽจ Text-to-image conversion</li>
553
+ <li>๐Ÿ”ง Multiple image editing and combining</li>
554
  </ul>
555
  <p style="margin-top: 1.5rem; font-weight: bold;">
556
+ Click the "Sign in with Hugging Face" button at the top to get started!
557
  </p>
558
  </div>
559
  '''