Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -72,9 +72,17 @@ css = '''
|
|
72 |
#output{margin-top: 25px}
|
73 |
.fillable{max-width: 980px !important}
|
74 |
.dark .progress-text {color: white}
|
|
|
|
|
|
|
75 |
'''
|
76 |
with gr.Blocks(theme=gr.themes.Citrus(), css=css) as demo:
|
77 |
-
gr.HTML(
|
|
|
|
|
|
|
|
|
|
|
78 |
gr.HTML("<h3 style='text-align:center'>Hugging Face PRO users can use Google's Nano Banana (Gemini 2.5 Flash Image Preview) on this Space. <a href='https://huggingface.co/pro' target='_blank'>Subscribe to PRO</a></h3>", elem_id="sub_title")
|
79 |
|
80 |
pro_message = gr.Markdown(visible=False)
|
|
|
72 |
#output{margin-top: 25px}
|
73 |
.fillable{max-width: 980px !important}
|
74 |
.dark .progress-text {color: white}
|
75 |
+
.logo-dark{display: none}
|
76 |
+
.dark .logo-dark{display: block !important}
|
77 |
+
.dark .logo-light{display: none}
|
78 |
'''
|
79 |
with gr.Blocks(theme=gr.themes.Citrus(), css=css) as demo:
|
80 |
+
gr.HTML('''
|
81 |
+
<img class="logo-dark" src='https://huggingface.co/spaces/multimodalart/nano-banana/resolve/main/nano_banana_pros.png' style='display: block; margin: 0 auto; max-width: 500px' />
|
82 |
+
<img class="logo-light" src='https://huggingface.co/spaces/multimodalart/nano-banana/resolve/main/nano_banana_pros_light.png' style='display: block; margin: 0 auto; max-width: 500px' />
|
83 |
+
'''
|
84 |
+
|
85 |
+
|
86 |
gr.HTML("<h3 style='text-align:center'>Hugging Face PRO users can use Google's Nano Banana (Gemini 2.5 Flash Image Preview) on this Space. <a href='https://huggingface.co/pro' target='_blank'>Subscribe to PRO</a></h3>", elem_id="sub_title")
|
87 |
|
88 |
pro_message = gr.Markdown(visible=False)
|