wangzhibo
2025-07-30 447abd69ea6002cdd57973420dd8f6655037a601
auto_media_publisher/generators/docx_generator_gemini.py
@@ -20,7 +20,7 @@
class DocxGeneratorGemini:
    def __init__(self,docx_author="我",complex=False):
    def __init__(self,docx_author="小白",complex=False):
        genai.configure(api_key=GOOGLE_API_KEY)
        self.temperature = round(random.uniform(GOOGLE_GEMINI_TEMPERATURE_MIN, GOOGLE_GEMINI_TEMPERATURE_MAX), 2)
        self.top_n = round(random.uniform(GOOGLE_GEMINI_TOPN_MIN, GOOGLE_GEMINI_TOPN_MAX), 2)