akhaliq HF staff commited on
Commit
c01ddae
1 Parent(s): e35f8da

gemini updates

Browse files
Files changed (2) hide show
  1. app.py +3 -3
  2. app_gemini.py +1 -1
app.py CHANGED
@@ -28,9 +28,6 @@ from app_showui import demo as demo_showui
28
  from app_omini import demo as demo_omini
29
 
30
  with gr.Blocks(fill_height=True) as demo:
31
- with gr.Tab("Gemini"):
32
- demo_gemini.render()
33
- gr.Markdown("This app is built with gradio, check out gradio github and star: <a href='https://github.com/gradio-app/gradio'>Gradio <img src='https://img.shields.io/github/stars/gradio-app/gradio'></a>.")
34
  with gr.Tab("SambaNova (New Qwen 2.5 72B and Qwen 2.5 Coder 32B)"):
35
  demo_sambanova.render()
36
  gr.Markdown(
@@ -40,6 +37,9 @@ with gr.Blocks(fill_height=True) as demo:
40
  This app is built with gradio, check out gradio github and star: <a href='https://github.com/gradio-app/gradio'>Gradio <img src='https://img.shields.io/github/stars/gradio-app/gradio'></a>.
41
  """
42
  )
 
 
 
43
  with gr.Tab("Hyperbolic (New Meta Llama 3.3 70B)"):
44
  demo_hyperbolic.render()
45
  gr.Markdown(
 
28
  from app_omini import demo as demo_omini
29
 
30
  with gr.Blocks(fill_height=True) as demo:
 
 
 
31
  with gr.Tab("SambaNova (New Qwen 2.5 72B and Qwen 2.5 Coder 32B)"):
32
  demo_sambanova.render()
33
  gr.Markdown(
 
37
  This app is built with gradio, check out gradio github and star: <a href='https://github.com/gradio-app/gradio'>Gradio <img src='https://img.shields.io/github/stars/gradio-app/gradio'></a>.
38
  """
39
  )
40
+ with gr.Tab("Gemini"):
41
+ demo_gemini.render()
42
+ gr.Markdown("This app is built with gradio, check out gradio github and star: <a href='https://github.com/gradio-app/gradio'>Gradio <img src='https://img.shields.io/github/stars/gradio-app/gradio'></a>.")
43
  with gr.Tab("Hyperbolic (New Meta Llama 3.3 70B)"):
44
  demo_hyperbolic.render()
45
  gr.Markdown(
app_gemini.py CHANGED
@@ -13,7 +13,7 @@ demo = get_app(
13
  "gemini-exp-1121",
14
  "gemini-exp-1206",
15
  ],
16
- default_model="gemini-exp-1206",
17
  src=gemini_gradio.registry,
18
  accept_token=not os.getenv("GEMINI_API_KEY"),
19
  )
 
13
  "gemini-exp-1121",
14
  "gemini-exp-1206",
15
  ],
16
+ default_model="gemini-1.5-flash",
17
  src=gemini_gradio.registry,
18
  accept_token=not os.getenv("GEMINI_API_KEY"),
19
  )