Nymbo commited on
Commit
6ab252e
·
verified ·
1 Parent(s): 8858508

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -11,11 +11,7 @@ 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;">
21
  <a href="https://huggingface.co/spaces/NotAiLOL/Gemini-Pro-Playground?duplicate=true">
@@ -247,7 +243,7 @@ bot_inputs = [
247
  chatbot_component
248
  ]
249
 
250
- with gr.Blocks() as demo:
251
  gr.HTML(TITLE)
252
  gr.HTML(SUBTITLE)
253
  gr.HTML(DUPLICATE)
 
11
 
12
  GOOGLE_API_KEY = os.environ.get("GOOGLE_API_KEY")
13
 
14
+ TITLE = """<h1 align="center">Gemini API Playground</h1>"""
 
 
 
 
15
  DUPLICATE = """
16
  <div style="text-align: center; display: flex; justify-content: center; align-items: center;">
17
  <a href="https://huggingface.co/spaces/NotAiLOL/Gemini-Pro-Playground?duplicate=true">
 
243
  chatbot_component
244
  ]
245
 
246
+ with gr.Blocks(theme="Nymbo/Nymbo_Theme") as demo:
247
  gr.HTML(TITLE)
248
  gr.HTML(SUBTITLE)
249
  gr.HTML(DUPLICATE)