xidu commited on
Commit
5aa2fed
·
verified ·
1 Parent(s): a24f8d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -1
app.py CHANGED
@@ -30,7 +30,8 @@ GEMINI_MODELS = {
30
  "gemini-2.0-flash-exp": "gemini-2.0-flash-exp",
31
  "gemini-2.5-flash-preview-05-20": "gemini-2.5-flash-preview-05-20",
32
  "gemini-2.5-flash": "gemini-2.5-flash",
33
- "gemini-2.5-flash-preview-04-17": "gemini-2.5-flash-preview-04-17"
 
34
  }
35
 
36
  # 支持的模型列表
@@ -64,6 +65,16 @@ SUPPORTED_MODELS = [
64
  "root": "gemini-2.5-flash",
65
  "parent": None,
66
  "description": "gemini-2.5-flash稳定经典专业模型"
 
 
 
 
 
 
 
 
 
 
67
  }
68
  ]
69
 
 
30
  "gemini-2.0-flash-exp": "gemini-2.0-flash-exp",
31
  "gemini-2.5-flash-preview-05-20": "gemini-2.5-flash-preview-05-20",
32
  "gemini-2.5-flash": "gemini-2.5-flash",
33
+ "gemini-2.5-flash-preview-04-17": "gemini-2.5-flash-preview-04-17",
34
+ "gemini-2.5-pro": "gemini-2.5-pro",
35
  }
36
 
37
  # 支持的模型列表
 
65
  "root": "gemini-2.5-flash",
66
  "parent": None,
67
  "description": "gemini-2.5-flash稳定经典专业模型"
68
+ },
69
+ {
70
+ "id": "gemini-2.5-pro",
71
+ "object": "model",
72
+ "created": int(time.time()),
73
+ "owned_by": "google",
74
+ "permission": [],
75
+ "root": "gemini-2.5-pro",
76
+ "parent": None,
77
+ "description": "gemini-2.5-pro稳定经典专业模型"
78
  }
79
  ]
80