Skip to content

Commit

Permalink
use sampled prompts as fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
genekogan committed Jan 8, 2025
1 parent e3e05a5 commit 318c5b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eve/postprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ class Prompts(BaseModel):

except Exception as e:
print("failed to sample new prompts, falling back to old prompts")
prompts = random.sample(ALL_PROMPTS, 4)
prompts = random.sample(sampled_prompts, 4)

return prompts

Expand Down

0 comments on commit 318c5b2

Please sign in to comment.