frendyrachman commited on
Commit
83e3607
·
verified ·
1 Parent(s): 0958253

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -7
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.2,
137
- top_p=0.2,
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.2,
149
- top_p=0.2,
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.2,
194
- top_p=0.2,
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()