PlanExe / app.py
Simon Strandgaard
IS_HUGGINGFACE_SPACES env for determining if the app runs on huggingface or not
0e11928
raw
history blame
240 Bytes
"""
During development, to mimic the same behavior as on Hugging Face Spaces.
PROMPT> IS_HUGGINGFACE_SPACES=true python app.py
"""
if __name__ == "__main__":
from src.plan.app_text2plan import demo_text2plan
demo_text2plan.launch()