Rahatara commited on
Commit
3db22fe
β€’
1 Parent(s): 9a2883a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -2
app.py CHANGED
@@ -11,8 +11,18 @@ print("google-generativeai:", genai.__version__)
11
  GOOGLE_API_KEY = os.environ.get("GOOGLE_API_KEY")
12
 
13
  TITLE = """<h1 align="center">πŸ‘— Gemini Personal Stylist Chatbot πŸ›οΈ</h1>"""
14
- #SUBTITLE = """<h2 align="center">Chat with Your Personal Stylist using Gemini Vision Pro πŸ–ΌοΈ</h2>"""
15
-
 
 
 
 
 
 
 
 
 
 
16
  IMAGE_WIDTH = 512
17
 
18
  def preprocess_image(image: Image.Image) -> Image.Image:
 
11
  GOOGLE_API_KEY = os.environ.get("GOOGLE_API_KEY")
12
 
13
  TITLE = """<h1 align="center">πŸ‘— Gemini Personal Stylist Chatbot πŸ›οΈ</h1>"""
14
+ #mSUBTITLE = """<h2 align="center">πŸ’… Get ready with your personal stylist</h2>"""
15
+
16
+ DUPLICATE = """
17
+ <div style="text-align: center; display: flex; justify-content: center; align-items: center;">
18
+ <a href="https://huggingface.co/spaces/Rahatara/build_with_gemini/blob/main/allgemapp.py?duplicate=true">
19
+ <img src="https://bit.ly/3gLdBN6" alt="Duplicate Space" style="margin-right: 10px;">
20
+ </a>
21
+ <span>Duplicate the Space and run securely with your
22
+ <a href="https://makersuite.google.com/app/apikey">GOOGLE API KEY</a>.
23
+ </span>
24
+ </div>
25
+ """
26
  IMAGE_WIDTH = 512
27
 
28
  def preprocess_image(image: Image.Image) -> Image.Image: