WIP - Streamlit UI, firecrawl - V0.5
This commit is contained in:
@@ -301,11 +301,11 @@ def main():
|
||||
</div>
|
||||
""", unsafe_allow_html=True)
|
||||
# Export the paths and file names. Dont want alwrity to be chatty and prompt for inputs.
|
||||
os.environ["SEARCH_SAVE_FILE"] = os.path.join(os.getcwd(), "lib", "workspace", "web_research_report",
|
||||
os.environ["SEARCH_SAVE_FILE"] = os.path.join(os.getcwd(), "lib", "workspace", "alwrity_web_research",
|
||||
f"web_research_report_{datetime.now().strftime('%Y-%m-%d_%H-%M-%S')}")
|
||||
os.environ["IMG_SAVE_DIR"] = os.path.join(os.getcwd(), "lib", "workspace", "generated_content")
|
||||
os.environ["CONTENT_SAVE_DIR"] = os.path.join(os.getcwd(), "lib", "workspace", "generated_content")
|
||||
os.environ["PROMPTS_DIR"] = os.path.join(os.getcwd(), "lib", "workspace", "prompts")
|
||||
os.environ["IMG_SAVE_DIR"] = os.path.join(os.getcwd(), "lib", "workspace", "alwrity_content")
|
||||
os.environ["CONTENT_SAVE_DIR"] = os.path.join(os.getcwd(), "lib", "workspace", "alwrity_content")
|
||||
os.environ["PROMPTS_DIR"] = os.path.join(os.getcwd(), "lib", "workspace", "alwrity_prompts")
|
||||
os.environ["ALWRITY_CONFIG"] = os.path.join(os.getcwd(), "lib", "workspace", "alwrity_config", "main_config.json")
|
||||
|
||||
# Check API keys and LLM environment settings
|
||||
|
||||
2
lib/workspace/alwrity_config/README.md
Normal file
2
lib/workspace/alwrity_config/README.md
Normal file
@@ -0,0 +1,2 @@
|
||||
Alwrity main config file. All the values from the UI sidebar are saved in this file.
|
||||
The programs read these values from this file, depending on their logic.
|
||||
2
lib/workspace/alwrity_content/README.md
Normal file
2
lib/workspace/alwrity_content/README.md
Normal file
@@ -0,0 +1,2 @@
|
||||
Alwrity will be place all final content drafts in this folder, like blog content, articles, texts and images generated.
|
||||
Change location in alwrity.py or environment variable SEARCH_SAVE_FILE
|
||||
3
lib/workspace/alwrity_web_research/README.md
Normal file
3
lib/workspace/alwrity_web_research/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
Alwrity web research reports will be saved in this folder.
|
||||
You can change this by modifying SEARCH_SAVE_FILE environment variable, after running alwrity.py from the command prompt.
|
||||
Better to change in the alwrity.py file itself, line no: 308
|
||||
Reference in New Issue
Block a user