mrbeliever commited on
Commit
f85f7c4
1 Parent(s): 7c59629

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -3
app.py CHANGED
@@ -11,8 +11,8 @@ print("google-generativeai:", genai.__version__)
11
 
12
  GOOGLE_API_KEY = os.environ.get("GOOGLE_API_KEY")
13
 
14
- TITLE = """<h1 align="center">Gemini For Google 💬</h1>"""
15
- SUBTITLE = """<h2 align="center">Play with Gemini Pro and Gemini Pro Vision API</h2>"""
16
  DUPLICATE = """"""
17
 
18
  AVATAR_IMAGES = (
@@ -144,7 +144,11 @@ chatbot_component = gr.Chatbot(
144
  height=400
145
  )
146
  text_prompt_component = gr.Textbox(
147
- placeholder="Hi there! [press Enter]", show_label=False, autofocus=True, scale=8
 
 
 
 
148
  )
149
  upload_button_component = gr.UploadButton(
150
  label="Upload Images", file_count="multiple", file_types=["image"], scale=1
 
11
 
12
  GOOGLE_API_KEY = os.environ.get("GOOGLE_API_KEY")
13
 
14
+ TITLE = """ """
15
+ SUBTITLE = """ """
16
  DUPLICATE = """"""
17
 
18
  AVATAR_IMAGES = (
 
144
  height=400
145
  )
146
  text_prompt_component = gr.Textbox(
147
+ value="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",
148
+ placeholder="Type or Paste Your Prompt",
149
+ show_label=False,
150
+ autofocus=True,
151
+ scale=8
152
  )
153
  upload_button_component = gr.UploadButton(
154
  label="Upload Images", file_count="multiple", file_types=["image"], scale=1