Yasu777 commited on
Commit
23d94d8
·
verified ·
1 Parent(s): 3c8bc1c

Update article_generator.py

Browse files
Files changed (1) hide show
  1. article_generator.py +2 -0
article_generator.py CHANGED
@@ -76,6 +76,8 @@ def generate_article(editable_output2):
76
  )
77
  result = response.choices[0]["message"]["content"]
78
 
 
 
79
  return result
80
 
81
  with gr.Blocks() as app:
 
76
  )
77
  result = response.choices[0]["message"]["content"]
78
 
79
+ with open("output3.txt", "w", encoding="utf-8") as f:
80
+ f.write(result)
81
  return result
82
 
83
  with gr.Blocks() as app: