mrbeliever commited on
Commit
be4d868
1 Parent(s): 2bf47c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 = """<h1 align="center"><a href="https://womener.in">Womener AI</a></h1>"""
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} - {user_input}"
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):