Skip to content

Commit

Permalink
stupid linter
Browse files Browse the repository at this point in the history
  • Loading branch information
C-Pro committed Dec 28, 2023
1 parent 5e7c605 commit e27753c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/skills/buktopuha.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ def generate_question(prompt, word) -> str:
return f"{model}: " + re.sub(
word, "***", rs, flags=re.IGNORECASE
).strip().strip('"')
elif model.startswith("gemini"):
if model.startswith("gemini"):
resp = genai.GenerativeModel(model).generate_content(prompt)
return f"{model}: " + re.sub(
word, "***", resp.text, flags=re.IGNORECASE
Expand Down

0 comments on commit e27753c

Please sign in to comment.