Spaces:
Running
on
Zero
Running
on
Zero
Update style_transfer.py
Browse files- style_transfer.py +1 -13
style_transfer.py
CHANGED
@@ -420,18 +420,6 @@ def create_style_transfer_tab(dog_style_transfer):
|
|
420 |
Transform your dog photos into different artistic styles! Upload a dog picture, choose your preferred style, and create unique artwork.
|
421 |
""")
|
422 |
|
423 |
-
# Add model info and style description display
|
424 |
-
# gr.HTML("""
|
425 |
-
# <div style="background-color: #f0f8ff; padding: 16px; border-radius: 8px; margin: 16px 0; border: 1px solid #cce5ff; box-shadow: 0 3px 10px rgba(0,0,123,0.1);">
|
426 |
-
# <h3>🐶 Upload a dog photo and select an artistic style</h3>
|
427 |
-
# <p>After uploading your dog photo, the system will transform it into your chosen artistic style. Try different styles to create stunning effects!</p>
|
428 |
-
# <p>Our system uses specialized models for each style to ensure the best results.</p>
|
429 |
-
# <p style="margin-top: 10px; padding: 8px; background-color: #fff9e6; border-left: 4px solid #ffd966; border-radius: 4px;"><b>⏱️ Patience is a virtue!</b> While AI is working its magic, your dog might have time to learn a new trick or two. The transformation can take up to 30 seconds, depending on how photogenic your furry friend is! 🐾</p>
|
430 |
-
# <p style="margin-top: 10px; padding: 8px; background-color: #e6f9ff; border-left: 4px solid #66c2ff; border-radius: 4px;"><b>🤫 A Little Secret:</b> Although we designed this tool for dogs, it can actually transform any photo! Portraits, landscapes, even your favorite teddy bear — feel free to try them all! Just don’t tell the other dogs… they might get jealous! 😉</p>
|
431 |
-
# <p style="margin-top: 10px; padding: 8px; background-color: #e6f9e6; border-left: 4px solid #66cc77; border-radius: 4px;"><b>✨ Unlimited Creativity!</b> Sometimes, AI might surprise you with unexpected creative interpretations, adding unique colors or features to your image. ✨</p>
|
432 |
-
# </div>
|
433 |
-
# """)
|
434 |
-
|
435 |
gr.HTML("""
|
436 |
<div style="
|
437 |
text-align: center;
|
@@ -444,7 +432,7 @@ def create_style_transfer_tab(dog_style_transfer):
|
|
444 |
">
|
445 |
<h3 style="color: #333;">🐶 Upload a dog photo and select an artistic style</h3>
|
446 |
<p>After uploading your dog photo, the system will transform it into your chosen artistic style. Try different styles to create stunning effects!</p>
|
447 |
-
<p>
|
448 |
<p style="margin-top: 10px; padding: 8px; background-color: #fff9e6; border-left: 4px solid #ffd966; border-radius: 4px;"><b>⏱️ Patience is a virtue!</b> While AI is working its magic, your dog might have time to learn a new trick or two. The transformation can take up to 30 seconds, depending on how photogenic your furry friend is! 🐾</p>
|
449 |
<p style="margin-top: 10px; padding: 8px; background-color: #e6f9ff; border-left: 4px solid #66c2ff; border-radius: 4px;"><b>🤫 A Little Secret:</b> Although we designed this tool for dogs, it can actually transform any photo! Portraits, landscapes, even your favorite teddy bear — feel free to try them all! Just don't tell the other dogs… they might get jealous! 😉</p>
|
450 |
<p style="margin-top: 10px; padding: 8px; background-color: #e6f9e6; border-left: 4px solid #66cc77; border-radius: 4px;"><b>✨ Unlimited Creativity!</b> Sometimes, AI might surprise you with unexpected creative interpretations, adding unique colors or features to your image. ✨</p>
|
|
|
420 |
Transform your dog photos into different artistic styles! Upload a dog picture, choose your preferred style, and create unique artwork.
|
421 |
""")
|
422 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
423 |
gr.HTML("""
|
424 |
<div style="
|
425 |
text-align: center;
|
|
|
432 |
">
|
433 |
<h3 style="color: #333;">🐶 Upload a dog photo and select an artistic style</h3>
|
434 |
<p>After uploading your dog photo, the system will transform it into your chosen artistic style. Try different styles to create stunning effects!</p>
|
435 |
+
<p>The system uses specialized models for each style to ensure the best results.</p>
|
436 |
<p style="margin-top: 10px; padding: 8px; background-color: #fff9e6; border-left: 4px solid #ffd966; border-radius: 4px;"><b>⏱️ Patience is a virtue!</b> While AI is working its magic, your dog might have time to learn a new trick or two. The transformation can take up to 30 seconds, depending on how photogenic your furry friend is! 🐾</p>
|
437 |
<p style="margin-top: 10px; padding: 8px; background-color: #e6f9ff; border-left: 4px solid #66c2ff; border-radius: 4px;"><b>🤫 A Little Secret:</b> Although we designed this tool for dogs, it can actually transform any photo! Portraits, landscapes, even your favorite teddy bear — feel free to try them all! Just don't tell the other dogs… they might get jealous! 😉</p>
|
438 |
<p style="margin-top: 10px; padding: 8px; background-color: #e6f9e6; border-left: 4px solid #66cc77; border-radius: 4px;"><b>✨ Unlimited Creativity!</b> Sometimes, AI might surprise you with unexpected creative interpretations, adding unique colors or features to your image. ✨</p>
|