Update app_gemini.py
Browse files- app_gemini.py +1 -18
app_gemini.py
CHANGED
@@ -2,21 +2,4 @@ import gemini_gradio
|
|
2 |
|
3 |
from utils import get_app
|
4 |
|
5 |
-
demo =
|
6 |
-
models=[
|
7 |
-
"gemini-1.5-flash",
|
8 |
-
"gemini-1.5-flash-8b",
|
9 |
-
"gemini-1.5-pro",
|
10 |
-
"gemini-exp-1114",
|
11 |
-
"gemini-exp-1121",
|
12 |
-
"gemini-exp-1206",
|
13 |
-
"gemini-2.0-flash-exp",
|
14 |
-
"gemini-2.0-flash-thinking-exp-1219",
|
15 |
-
],
|
16 |
-
default_model="gemini-2.0-flash-thinking-exp-1219",
|
17 |
-
src=gemini_gradio.registry,
|
18 |
-
accept_token=not os.getenv("GEMINI_API_KEY"),
|
19 |
-
)
|
20 |
-
|
21 |
-
if __name__ == "__main__":
|
22 |
-
demo.launch()
|
|
|
2 |
|
3 |
from utils import get_app
|
4 |
|
5 |
+
demo = gr.Textbox(value="You are a friendly Chatbot."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|