TheBlueberry-AI commited on
Commit
1bcab75
1 Parent(s): 7377865

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -13,7 +13,7 @@ gglusr = os.environ.get("GGL_USR")
13
  gglpwd = os.environ.get("GGL_PWD")
14
 
15
  TITLE = """<h2 align="center">🫐Blueberry-AI ✨Gemini Chat🫐</h2>"""
16
- IMAGE_WIDTH = 512
17
 
18
 
19
  def preprocess_stop_sequences(stop_sequences: str) -> Optional[List[str]]:
@@ -90,7 +90,7 @@ def bot(
90
 
91
  image_prompt_component = gr.Image(type="pil", label="Image", scale=1, height=400)
92
  chatbot_component = gr.Chatbot(
93
- label='Gemini',
94
  bubble_full_width=False,
95
  avatar_images=("./usr.png", "./bot.png"),
96
  likeable=True,
@@ -99,8 +99,8 @@ chatbot_component = gr.Chatbot(
99
  height=400
100
  )
101
  text_prompt_component = gr.Textbox(
102
- placeholder="Hi there!",
103
- label="Ask me anything and press Enter"
104
  )
105
  run_button_component = gr.Button()
106
  temperature_component = gr.Slider(
 
13
  gglpwd = os.environ.get("GGL_PWD")
14
 
15
  TITLE = """<h2 align="center">🫐Blueberry-AI ✨Gemini Chat🫐</h2>"""
16
+ IMAGE_WIDTH = 256
17
 
18
 
19
  def preprocess_stop_sequences(stop_sequences: str) -> Optional[List[str]]:
 
90
 
91
  image_prompt_component = gr.Image(type="pil", label="Image", scale=1, height=400)
92
  chatbot_component = gr.Chatbot(
93
+ label='Blueberry-AI',
94
  bubble_full_width=False,
95
  avatar_images=("./usr.png", "./bot.png"),
96
  likeable=True,
 
99
  height=400
100
  )
101
  text_prompt_component = gr.Textbox(
102
+ placeholder="Ask me anything and press Enter",
103
+ show_label=False
104
  )
105
  run_button_component = gr.Button()
106
  temperature_component = gr.Slider(