update gemini api key
Browse files
app.py
CHANGED
@@ -27,14 +27,12 @@ with gr.Blocks(fill_height=True) as demo:
|
|
27 |
gemini_interface = gr.load(
|
28 |
name=gemini_model.value,
|
29 |
src=gemini_gradio.registry,
|
30 |
-
accept_token=True
|
31 |
)
|
32 |
|
33 |
def update_gemini_model(new_model):
|
34 |
return gr.load(
|
35 |
name=new_model,
|
36 |
src=gemini_gradio.registry,
|
37 |
-
accept_token=True
|
38 |
)
|
39 |
|
40 |
gemini_model.change(
|
|
|
27 |
gemini_interface = gr.load(
|
28 |
name=gemini_model.value,
|
29 |
src=gemini_gradio.registry,
|
|
|
30 |
)
|
31 |
|
32 |
def update_gemini_model(new_model):
|
33 |
return gr.load(
|
34 |
name=new_model,
|
35 |
src=gemini_gradio.registry,
|
|
|
36 |
)
|
37 |
|
38 |
gemini_model.change(
|