Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -111,10 +111,17 @@ css = '''
|
|
| 111 |
#output{margin-top: 25px}
|
| 112 |
.fillable{max-width: 980px !important}
|
| 113 |
.dark .progress-text {color: white}
|
|
|
|
|
|
|
|
|
|
| 114 |
'''
|
| 115 |
with gr.Blocks(theme=gr.themes.Citrus(), css=css) as demo:
|
| 116 |
-
gr.HTML(
|
| 117 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 118 |
|
| 119 |
pro_message = gr.Markdown(visible=False)
|
| 120 |
main_interface = gr.Column(visible=False)
|
|
|
|
| 111 |
#output{margin-top: 25px}
|
| 112 |
.fillable{max-width: 980px !important}
|
| 113 |
.dark .progress-text {color: white}
|
| 114 |
+
.logo-dark{display: none}
|
| 115 |
+
.dark .logo-dark{display: block !important}
|
| 116 |
+
.dark .logo-light{display: none}
|
| 117 |
'''
|
| 118 |
with gr.Blocks(theme=gr.themes.Citrus(), css=css) as demo:
|
| 119 |
+
gr.HTML('''
|
| 120 |
+
<img class="logo-dark" src='https://huggingface.co/spaces/multimodalart/nano-banana/resolve/main/nano_banana_pros.png' style='margin: 0 auto; max-width: 500px' />
|
| 121 |
+
<img class="logo-light" src='https://huggingface.co/spaces/multimodalart/nano-banana/resolve/main/nano_banana_pros_light.png' style='margin: 0 auto; max-width: 500px' />
|
| 122 |
+
''')
|
| 123 |
+
|
| 124 |
+
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")
|
| 125 |
|
| 126 |
pro_message = gr.Markdown(visible=False)
|
| 127 |
main_interface = gr.Column(visible=False)
|