PlanExe / app.py
Simon Strandgaard
BrowserState's secret is no longer hardcoded, but use the HUGGINGFACE_SPACES_BROWSERSTATE_SECRET env.
56f6df1
raw
history blame
346 Bytes
"""
During development, to mimic the same behavior as on Hugging Face Spaces.
PROMPT> IS_HUGGINGFACE_SPACES=true HUGGINGFACE_SPACES_BROWSERSTATE_SECRET=random123 python app.py
TEST-COMMIT: to make hugging face spaces rebuild. Again.
"""
if __name__ == "__main__":
from src.plan.app_text2plan import run_app_text2plan
run_app_text2plan()