Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -150,7 +150,7 @@ with gr.Blocks(theme=gr.themes.Citrus(), css=css) as demo:
|
|
| 150 |
<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' />
|
| 151 |
''')
|
| 152 |
|
| 153 |
-
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='
|
| 154 |
|
| 155 |
pro_message = gr.Markdown(visible=False)
|
| 156 |
main_interface = gr.Column(visible=False)
|
|
@@ -223,9 +223,9 @@ with gr.Blocks(theme=gr.themes.Citrus(), css=css) as demo:
|
|
| 223 |
else:
|
| 224 |
message = (
|
| 225 |
"## ✨ Exclusive Access for PRO Users\n\n"
|
| 226 |
-
"Thank you for your interest! This
|
| 227 |
-
"To unlock this and many other
|
| 228 |
-
"### [**Become a PRO
|
| 229 |
)
|
| 230 |
return gr.update(visible=False), gr.update(visible=True, value=message)
|
| 231 |
|
|
|
|
| 150 |
<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' />
|
| 151 |
''')
|
| 152 |
|
| 153 |
+
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='http://huggingface.co/subscribe/pro?source=nana_banana' target='_blank'>Subscribe to PRO</a></h3>", elem_id="sub_title")
|
| 154 |
|
| 155 |
pro_message = gr.Markdown(visible=False)
|
| 156 |
main_interface = gr.Column(visible=False)
|
|
|
|
| 223 |
else:
|
| 224 |
message = (
|
| 225 |
"## ✨ Exclusive Access for PRO Users\n\n"
|
| 226 |
+
"Thank you for your interest! This app is available exclusively for our Hugging Face **PRO** members.\n\n"
|
| 227 |
+
"To unlock this and many other stuff, please consider upgrading your account.\n\n"
|
| 228 |
+
"### [**Become a PRO Today!**](http://huggingface.co/subscribe/pro?source=nana_banana)"
|
| 229 |
)
|
| 230 |
return gr.update(visible=False), gr.update(visible=True, value=message)
|
| 231 |
|