Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
#
|
| 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:
|