hasanbasbunar commited on
Commit
4083450
Β·
verified Β·
1 Parent(s): e2f7b5c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +45 -8
app.py CHANGED
@@ -393,14 +393,51 @@ with gr.Blocks(title="Nano Vision Studio") as demo:
393
  # --- TAB 4 : GUIDE ---
394
  with gr.TabItem("πŸ“š Guide"):
395
  gr.Markdown("""
396
- ### 🍌 Quick Guide for Nano Vision Studio
397
-
398
- This interface is powered by **Gemini 3 Pro** and **Gemini 2.5 Flash**.
399
-
400
- * **Aspect Ratios**: Supports wide variety from 1:1 to 21:9.
401
- * **Resolutions**: 1K (Default), 2K, 4K (Pro model only).
402
- * **Multi-Image**: You can upload up to **14 images** in the Composition tab.
403
- * **Chat**: Supports iterative editing ("Make it blue", "Add a cat").
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
404
  """)
405
 
406
  if __name__ == "__main__":
 
393
  # --- TAB 4 : GUIDE ---
394
  with gr.TabItem("πŸ“š Guide"):
395
  gr.Markdown("""
396
+ # Comprehensive Guide
397
+
398
+ Welcome to the ultimate interface for **Nano Banana Pro** (Gemini 3 Pro) and **Nano Banana** (Gemini 2.5 Flash).
399
+
400
+ ## πŸš€ Choose Your Model
401
+
402
+ | Feature | ⚑ Gemini 2.5 Flash (Nano Banana) | 🧠 Gemini 3 Pro (Nano Banana Pro) |
403
+ | :--- | :--- | :--- |
404
+ | **Best For** | Speed, High Volume, Prototyping | Professional Assets, Complex Logic, Text Rendering |
405
+ | **Resolution** | 1024x1024 (Native) | Up to **4K** (High Fidelity) |
406
+ | **Inputs** | Text + Images | Text + up to **14 Reference Images** |
407
+ | **Special** | Fast & Efficient | **Thinking Process**, **Search Grounding** |
408
+
409
+ ---
410
+
411
+ ## ✨ Advanced Capabilities Explained
412
+
413
+ ### 1. 🧠 The "Thinking" Process (Pro Only)
414
+ Nano Banana Pro doesn't just draw; it *thinks*. Before generating pixels, it reasons through your prompt to understand composition, lighting, and logic.
415
+ * **In this App:** Check the **"Thought Process"** accordion in the *Creation Studio* to read the model's internal monologue and see draft visualizations (Thought Images).
416
+
417
+ ### 2. 🌍 Search Grounding (Real-Time Data)
418
+ The model isn't stuck in the past. It can access **Google Search** to generate images based on live data.
419
+ * **Try this:** "Visualize the current weather forecast for Tokyo as a modern chart."
420
+ * **In this App:** Enable the **"Grounding"** checkbox. Sources will appear below the generated image.
421
+
422
+ ### 3. πŸ–ΌοΈ Advanced Composition (up to 14 Images)
423
+ While Flash handles fewer inputs, Pro can mix up to **14 images**!
424
+ * **Use Case:** Style transfer, maintaining character consistency, or complex collages.
425
+ * **How:** Use the **"Composition"** tab to upload multiple reference files.
426
+
427
+ ---
428
+
429
+ ## πŸ’‘ Prompting Masterclass
430
+
431
+ To get the best results, follow these professional tips:
432
+
433
+ * **Be Hyper-Specific:** Don't just say "a cat". Say *"A photorealistic close-up of a Siamese cat, golden hour lighting, captured with an 85mm lens"*.
434
+ * **Provide Context:** Explain the intent. *"Create a logo for a high-end minimalist skincare brand"*.
435
+ * **Positive Framing:** Instead of "no cars", describe the scene as *"an empty, deserted street"*.
436
+ * **Iterate with Chat:** Don't expect perfection on turn #1. Use the **Chat & Refinement** tab to say *"Make the lighting warmer"* or *"Add a wizard hat"*.
437
+
438
+ ## ⚑ Performance Tips
439
+ * **4K Generation:** Available only on Pro. It costs more but delivers stunning print-quality results.
440
+ * **Aspect Ratios:** We support everything from **1:1** to **21:9** (Cinematic).
441
  """)
442
 
443
  if __name__ == "__main__":