Spaces:
Sleeping
Sleeping
Update similarity_score_refined.py
Browse files
similarity_score_refined.py
CHANGED
@@ -84,7 +84,7 @@ And the job description below:
|
|
84 |
try:
|
85 |
# Get the response from Gemini Pro
|
86 |
|
87 |
-
response = model.generate_content(prompt,generation_config={"temperature": 0.
|
88 |
candidates = response.candidates
|
89 |
if not candidates or len(candidates) == 0:
|
90 |
raise ValueError("No candidates found in the response.")
|
|
|
84 |
try:
|
85 |
# Get the response from Gemini Pro
|
86 |
|
87 |
+
response = model.generate_content(prompt,generation_config={"temperature": 0.0})
|
88 |
candidates = response.candidates
|
89 |
if not candidates or len(candidates) == 0:
|
90 |
raise ValueError("No candidates found in the response.")
|