Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ print("google-generativeai:", genai.__version__)
|
|
| 11 |
|
| 12 |
GOOGLE_API_KEY = os.environ.get("GOOGLE_API_KEY")
|
| 13 |
|
| 14 |
-
TITLE = """<
|
| 15 |
|
| 16 |
AVATAR_IMAGES = (
|
| 17 |
None,
|
|
@@ -69,7 +69,7 @@ def upload(files: Optional[List[str]], chatbot: CHAT_HISTORY) -> CHAT_HISTORY:
|
|
| 69 |
prefilled_text = "Enhance this prompt under 50 words for better AI image generation"
|
| 70 |
|
| 71 |
def get_prefilled_text(user_input):
|
| 72 |
-
return f"{prefilled_text}
|
| 73 |
|
| 74 |
# Update the user input function to use the concatenated text
|
| 75 |
def user(text_prompt: str, chatbot: CHAT_HISTORY):
|
|
|
|
| 11 |
|
| 12 |
GOOGLE_API_KEY = os.environ.get("GOOGLE_API_KEY")
|
| 13 |
|
| 14 |
+
TITLE = """<h2 align="center"><a href="https://womener.in">Womener AI</a></h2>"""
|
| 15 |
|
| 16 |
AVATAR_IMAGES = (
|
| 17 |
None,
|
|
|
|
| 69 |
prefilled_text = "Enhance this prompt under 50 words for better AI image generation"
|
| 70 |
|
| 71 |
def get_prefilled_text(user_input):
|
| 72 |
+
return f"{prefilled_text} + {user_input}"
|
| 73 |
|
| 74 |
# Update the user input function to use the concatenated text
|
| 75 |
def user(text_prompt: str, chatbot: CHAT_HISTORY):
|