Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -133,8 +133,8 @@ Berikut kami informasikan kekurangan dokumen yang *WAJIB* dibawa saat biometric
|
|
| 133 |
model="gemini-2.0-flash-lite",
|
| 134 |
contents=[prompt] + images,
|
| 135 |
config=GenerateContentConfig(
|
| 136 |
-
temperature=0.
|
| 137 |
-
top_p=0.
|
| 138 |
maxOutputTokens=500
|
| 139 |
)
|
| 140 |
)
|
|
@@ -145,8 +145,8 @@ Berikut kami informasikan kekurangan dokumen yang *WAJIB* dibawa saat biometric
|
|
| 145 |
model="gemini-2.0-flash-lite",
|
| 146 |
contents=[analysis, prompt_2], # Pass prompt and image files
|
| 147 |
config=GenerateContentConfig(
|
| 148 |
-
temperature=0.
|
| 149 |
-
top_p=0.
|
| 150 |
maxOutputTokens=200
|
| 151 |
)
|
| 152 |
)
|
|
@@ -190,9 +190,8 @@ Output:
|
|
| 190 |
model="gemini-2.0-flash-lite",
|
| 191 |
contents=[prompt_3, image],
|
| 192 |
config=GenerateContentConfig(
|
| 193 |
-
temperature=0.
|
| 194 |
-
top_p=0.
|
| 195 |
-
maxOutputTokens=200
|
| 196 |
)
|
| 197 |
)
|
| 198 |
filename = response.text.strip().lower()
|
|
|
|
| 133 |
model="gemini-2.0-flash-lite",
|
| 134 |
contents=[prompt] + images,
|
| 135 |
config=GenerateContentConfig(
|
| 136 |
+
temperature=0.1,
|
| 137 |
+
top_p=0.1,
|
| 138 |
maxOutputTokens=500
|
| 139 |
)
|
| 140 |
)
|
|
|
|
| 145 |
model="gemini-2.0-flash-lite",
|
| 146 |
contents=[analysis, prompt_2], # Pass prompt and image files
|
| 147 |
config=GenerateContentConfig(
|
| 148 |
+
temperature=0.1,
|
| 149 |
+
top_p=0.1,
|
| 150 |
maxOutputTokens=200
|
| 151 |
)
|
| 152 |
)
|
|
|
|
| 190 |
model="gemini-2.0-flash-lite",
|
| 191 |
contents=[prompt_3, image],
|
| 192 |
config=GenerateContentConfig(
|
| 193 |
+
temperature=0.1,
|
| 194 |
+
top_p=0.1
|
|
|
|
| 195 |
)
|
| 196 |
)
|
| 197 |
filename = response.text.strip().lower()
|