Sabatino81 commited on
Commit
37ce01e
Β·
verified Β·
1 Parent(s): 520e139

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +11 -7
app.py CHANGED
@@ -2012,19 +2012,23 @@ Snapchat - bright colors, fun filters, youthful design""",
2012
  with gr.Tabs():
2013
  with gr.Tab("✨ Variant 1"):
2014
  preview_waves = gr.HTML(value="<p style='text-align: center; padding: 40px;'>Generate to see AI-powered variant...</p>")
2015
- code_waves = gr.Code(label="Dart Code - Variant 1", language="javascript", lines=15, value="")
 
2016
 
2017
  with gr.Tab("✨ Variant 2"):
2018
  preview_linear = gr.HTML(value="<p style='text-align: center; padding: 40px;'>Generate to see AI-powered variant...</p>")
2019
- code_linear = gr.Code(label="Dart Code - Variant 2", language="javascript", lines=15, value="")
 
2020
 
2021
  with gr.Tab("✨ Variant 3"):
2022
  preview_radial = gr.HTML(value="<p style='text-align: center; padding: 40px;'>Generate to see AI-powered variant...</p>")
2023
- code_radial = gr.Code(label="Dart Code - Variant 3", language="javascript", lines=15, value="")
 
2024
 
2025
  with gr.Tab("✨ Variant 4"):
2026
  preview_geometric = gr.HTML(value="<p style='text-align: center; padding: 40px;'>Generate to see AI-powered variant...</p>")
2027
- code_geometric = gr.Code(label="Dart Code - Variant 4", language="javascript", lines=15, value="")
 
2028
 
2029
  # Info Section
2030
  gr.Markdown("### πŸ’‘ How to Use")
@@ -2062,7 +2066,7 @@ Snapchat - bright colors, fun filters, youthful design""",
2062
 
2063
  # Background Gallery Section
2064
  gr.Markdown("---")
2065
- with gr.Accordion("🎨 Background Gallery (30 Backgrounds)", open=True):
2066
  gr.Markdown("""
2067
  Esplora tutti i 30 background disponibili organizzati per categoria.
2068
  Usa questa gallery per analizzare visualmente la knowledge base e testare ogni background.
@@ -2089,7 +2093,7 @@ Snapchat - bright colors, fun filters, youthful design""",
2089
 
2090
  # Header Gallery Section
2091
  gr.Markdown("---")
2092
- with gr.Accordion("🎯 Header Catalog (5 Headers)", open=True):
2093
  gr.Markdown("""
2094
  Tutti i 5 header disponibili con preview renderizzate in HTML/CSS.
2095
  Gli header vengono stilizzati automaticamente con i colori del tema.
@@ -2112,7 +2116,7 @@ Snapchat - bright colors, fun filters, youthful design""",
2112
 
2113
  # Footer Gallery Section
2114
  gr.Markdown("---")
2115
- with gr.Accordion("🎯 Footer Catalog (5 Footers)", open=True):
2116
  gr.Markdown("""
2117
  Tutti i 5 footer/navigation bar disponibili con preview renderizzate in HTML/CSS.
2118
  I footer vengono stilizzati automaticamente con i colori del tema.
 
2012
  with gr.Tabs():
2013
  with gr.Tab("✨ Variant 1"):
2014
  preview_waves = gr.HTML(value="<p style='text-align: center; padding: 40px;'>Generate to see AI-powered variant...</p>")
2015
+ with gr.Accordion("πŸ’» View Dart Code", open=False):
2016
+ code_waves = gr.Code(label="Dart Code - Variant 1", language="javascript", lines=15, value="")
2017
 
2018
  with gr.Tab("✨ Variant 2"):
2019
  preview_linear = gr.HTML(value="<p style='text-align: center; padding: 40px;'>Generate to see AI-powered variant...</p>")
2020
+ with gr.Accordion("πŸ’» View Dart Code", open=False):
2021
+ code_linear = gr.Code(label="Dart Code - Variant 2", language="javascript", lines=15, value="")
2022
 
2023
  with gr.Tab("✨ Variant 3"):
2024
  preview_radial = gr.HTML(value="<p style='text-align: center; padding: 40px;'>Generate to see AI-powered variant...</p>")
2025
+ with gr.Accordion("πŸ’» View Dart Code", open=False):
2026
+ code_radial = gr.Code(label="Dart Code - Variant 3", language="javascript", lines=15, value="")
2027
 
2028
  with gr.Tab("✨ Variant 4"):
2029
  preview_geometric = gr.HTML(value="<p style='text-align: center; padding: 40px;'>Generate to see AI-powered variant...</p>")
2030
+ with gr.Accordion("πŸ’» View Dart Code", open=False):
2031
+ code_geometric = gr.Code(label="Dart Code - Variant 4", language="javascript", lines=15, value="")
2032
 
2033
  # Info Section
2034
  gr.Markdown("### πŸ’‘ How to Use")
 
2066
 
2067
  # Background Gallery Section
2068
  gr.Markdown("---")
2069
+ with gr.Accordion("🎨 Background Gallery (30 Backgrounds)", open=False):
2070
  gr.Markdown("""
2071
  Esplora tutti i 30 background disponibili organizzati per categoria.
2072
  Usa questa gallery per analizzare visualmente la knowledge base e testare ogni background.
 
2093
 
2094
  # Header Gallery Section
2095
  gr.Markdown("---")
2096
+ with gr.Accordion("🎯 Header Catalog (5 Headers)", open=False):
2097
  gr.Markdown("""
2098
  Tutti i 5 header disponibili con preview renderizzate in HTML/CSS.
2099
  Gli header vengono stilizzati automaticamente con i colori del tema.
 
2116
 
2117
  # Footer Gallery Section
2118
  gr.Markdown("---")
2119
+ with gr.Accordion("🎯 Footer Catalog (5 Footers)", open=False):
2120
  gr.Markdown("""
2121
  Tutti i 5 footer/navigation bar disponibili con preview renderizzate in HTML/CSS.
2122
  I footer vengono stilizzati automaticamente con i colori del tema.