Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,9 @@ def generate_article(prompt, progress=gr.Progress(track_tqdm=True)):
|
|
38 |
)
|
39 |
runner.post_run()
|
40 |
runner.summary()
|
41 |
-
|
|
|
|
|
42 |
content = file.read()
|
43 |
return content
|
44 |
|
|
|
38 |
)
|
39 |
runner.post_run()
|
40 |
runner.summary()
|
41 |
+
print(os.listdir())
|
42 |
+
generated_folder = prompt.replace(" ", "_")
|
43 |
+
with open(f'{generated_folder}/storm_gen_article.txt', 'r') as file:
|
44 |
content = file.read()
|
45 |
return content
|
46 |
|