Liu Hong Yuan Tom commited on
Commit
9c1ce00
1 Parent(s): 8858508

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -11,10 +11,10 @@ print("google-generativeai:", genai.__version__)
11
 
12
  GOOGLE_API_KEY = os.environ.get("GOOGLE_API_KEY")
13
 
14
- TITLE = """<h1 align="center">🎮Chat with Gemini 1.0/1.5 Pro🔥</h1>"""
15
  SUBTITLE = """
16
  <h2 align="center">Try <b>Gemini 1.5 Pro Experimental 0801</b> 🐦‍🔥 -- Beat GPT-4o in Lmsys Leaderboard (2024/8/4)</h2>
17
- 🚧<i>Note: Gemini 1.0 Pro does not support Multimodal</i>🚧
18
  """
19
  DUPLICATE = """
20
  <div style="text-align: center; display: flex; justify-content: center; align-items: center;">
@@ -141,8 +141,7 @@ def bot(
141
  yield chatbot
142
 
143
  model_selection = gr.Dropdown(
144
- ["gemini-1.0-pro",
145
- "gemini-1.5-flash",
146
  "gemini-1.5-pro",
147
  "gemini-1.5-pro-exp-0801"
148
  ],
 
11
 
12
  GOOGLE_API_KEY = os.environ.get("GOOGLE_API_KEY")
13
 
14
+ TITLE = """<h1 align="center">🎮Chat with Gemini 1.5 Pro🔥</h1>"""
15
  SUBTITLE = """
16
  <h2 align="center">Try <b>Gemini 1.5 Pro Experimental 0801</b> 🐦‍🔥 -- Beat GPT-4o in Lmsys Leaderboard (2024/8/4)</h2>
17
+ UPDATES (2024-8-12): Removed Gemini 1.0 Pro
18
  """
19
  DUPLICATE = """
20
  <div style="text-align: center; display: flex; justify-content: center; align-items: center;">
 
141
  yield chatbot
142
 
143
  model_selection = gr.Dropdown(
144
+ ["gemini-1.5-flash",
 
145
  "gemini-1.5-pro",
146
  "gemini-1.5-pro-exp-0801"
147
  ],