Liu Hong Yuan Tom commited on
Commit
1e2bae1
1 Parent(s): fc9a27f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -2
app.py CHANGED
@@ -11,10 +11,15 @@ 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.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;">
@@ -319,6 +324,7 @@ bot_inputs = [
319
  with gr.Blocks() as demo:
320
  gr.HTML(TITLE)
321
  gr.HTML(SUBTITLE)
 
322
  gr.HTML(DUPLICATE)
323
  with gr.Column():
324
  google_key_component.render()
 
11
 
12
  GOOGLE_API_KEY = os.environ.get("GOOGLE_API_KEY")
13
 
14
+ TITLE = """<h1 align="center">🎮Chat with Gemini 1.5 Pro🔥 (Deprecated)</h1>"""
15
  SUBTITLE = """
16
+ <h2 align="center">New version here: https://huggingface.co/spaces/NotAiLOL/Gemin-Playground-Beta</h2>
17
  <h2 align="center">Try <b>Gemini 1.5 Pro Experimental 0801</b> 🐦‍🔥 -- Beat GPT-4o in Lmsys Leaderboard (2024/8/4)</h2>
18
+ """
19
+ NOTICES = """
20
+ Notices:
21
+ - UPDATES (2024-8-12): END OF SUPPORT, new version: https://huggingface.co/spaces/NotAiLOL/Gemin-Playground-Beta
22
+ - This version will be removed on the 20th Aug 2024.
23
  """
24
  DUPLICATE = """
25
  <div style="text-align: center; display: flex; justify-content: center; align-items: center;">
 
324
  with gr.Blocks() as demo:
325
  gr.HTML(TITLE)
326
  gr.HTML(SUBTITLE)
327
+ gr.Markdown(NOTICES)
328
  gr.HTML(DUPLICATE)
329
  with gr.Column():
330
  google_key_component.render()