multimodalart HF Staff commited on
Commit
6323c73
·
verified ·
1 Parent(s): 0415fd2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -54,9 +54,11 @@ def run_multi_image_logic(prompt: str, images: List[str]) -> str:
54
  return result["images"][0]["url"]
55
 
56
  # --- Gradio App UI ---
57
- with gr.Blocks(theme=gr.themes.Citrus()) as demo:
 
 
58
  gr.HTML("<img src='https://huggingface.co/spaces/multimodalart/nano-banana/resolve/main/nano_banana_pros.png' style='display: block; margin: 0 auto; max-width: 500px' />")
59
- 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>")
60
 
61
  pro_message = gr.Markdown(visible=False)
62
  main_interface = gr.Column(visible=False)
 
54
  return result["images"][0]["url"]
55
 
56
  # --- Gradio App UI ---
57
+ css = '''
58
+ #sub_title{margin-top: -35px !important}'''
59
+ with gr.Blocks(theme=gr.themes.Citrus(), css=css) as demo:
60
  gr.HTML("<img src='https://huggingface.co/spaces/multimodalart/nano-banana/resolve/main/nano_banana_pros.png' style='display: block; margin: 0 auto; max-width: 500px' />")
61
+ 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")
62
 
63
  pro_message = gr.Markdown(visible=False)
64
  main_interface = gr.Column(visible=False)