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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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,
@@ -66,10 +66,10 @@ def upload(files: Optional[List[str]], chatbot: CHAT_HISTORY) -> CHAT_HISTORY:
66
 
67
 
68
  # Concatenate the hidden pre-filled text with the user input
69
- prefilled_text = "You are a specialized Prompt Generator focused on improving the original text while maintaining its essence. Keep the prompt length under 50 words never exceed this limit"
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 = """<h1 align="center"><a href="https://womener.in">Womener AI</a></h1>"""
15
 
16
  AVATAR_IMAGES = (
17
  None,
 
66
 
67
 
68
  # Concatenate the hidden pre-filled text with the user input
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):