eaglelandsonce commited on
Commit
80a5f9c
1 Parent(s): e6b4540

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -6
app.py CHANGED
@@ -13,12 +13,9 @@ GOOGLE_API_KEY = os.environ.get("GOOGLE_API_KEY")
13
 
14
  TITLE = """<h1 align="center">Gemini Playground 💬</h1>"""
15
  SUBTITLE = """<h2 align="center">Play with Gemini Pro and Gemini Pro Vision API</h2>"""
16
- DUPLICATE = """
17
  <div style="text-align: center; display: flex; justify-content: center; align-items: center;">
18
- <a href="https://huggingface.co/spaces/SkalskiP/ChatGemini?duplicate=true">
19
- <img src="https://bit.ly/3gLdBN6" alt="Duplicate Space" style="margin-right: 10px;">
20
- </a>
21
- <span>Duplicate the Space and run securely with your
22
  <a href="https://makersuite.google.com/app/apikey">GOOGLE API KEY</a>.
23
  </span>
24
  </div>
@@ -236,7 +233,7 @@ bot_inputs = [
236
  with gr.Blocks() as demo:
237
  gr.HTML(TITLE)
238
  gr.HTML(SUBTITLE)
239
- gr.HTML(DUPLICATE)
240
  with gr.Column():
241
  google_key_component.render()
242
  chatbot_component.render()
 
13
 
14
  TITLE = """<h1 align="center">Gemini Playground 💬</h1>"""
15
  SUBTITLE = """<h2 align="center">Play with Gemini Pro and Gemini Pro Vision API</h2>"""
16
+ GETKEY = """
17
  <div style="text-align: center; display: flex; justify-content: center; align-items: center;">
18
+ <span>Get an API key
 
 
 
19
  <a href="https://makersuite.google.com/app/apikey">GOOGLE API KEY</a>.
20
  </span>
21
  </div>
 
233
  with gr.Blocks() as demo:
234
  gr.HTML(TITLE)
235
  gr.HTML(SUBTITLE)
236
+ gr.HTML(GETKEY)
237
  with gr.Column():
238
  google_key_component.render()
239
  chatbot_component.render()