Liu Hong Yuan Tom
commited on
Commit
•
9c1ce00
1
Parent(s):
8858508
Update app.py
Browse files
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.
|
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 |
-
|
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.
|
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 |
],
|