Spaces:
Runtime error
Runtime error
update gemini
Browse files- app.py +3 -3
- app_gemini.py +2 -1
app.py
CHANGED
@@ -28,6 +28,9 @@ 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("SambaNova (New Qwen 2.5 72B and Qwen 2.5 Coder 32B)"):
|
32 |
demo_sambanova.render()
|
33 |
gr.Markdown(
|
@@ -37,9 +40,6 @@ with gr.Blocks(fill_height=True) as demo:
|
|
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(
|
|
|
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 |
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(
|
app_gemini.py
CHANGED
@@ -12,8 +12,9 @@ demo = get_app(
|
|
12 |
"gemini-exp-1114",
|
13 |
"gemini-exp-1121",
|
14 |
"gemini-exp-1206",
|
|
|
15 |
],
|
16 |
-
default_model="gemini-
|
17 |
src=gemini_gradio.registry,
|
18 |
accept_token=not os.getenv("GEMINI_API_KEY"),
|
19 |
)
|
|
|
12 |
"gemini-exp-1114",
|
13 |
"gemini-exp-1121",
|
14 |
"gemini-exp-1206",
|
15 |
+
"gemini-2.0-flash-exp",
|
16 |
],
|
17 |
+
default_model="gemini-2.0-flash-exp",
|
18 |
src=gemini_gradio.registry,
|
19 |
accept_token=not os.getenv("GEMINI_API_KEY"),
|
20 |
)
|