PlanExe / app.py
Simon Strandgaard
The user settings are now stored in BrowserState, so the data survives restarting the server, and survives reloading the page.
b14ca77
raw
history blame
477 Bytes
"""
During development, to mimic the same behavior as on Hugging Face Spaces.
PROMPT> IS_HUGGINGFACE_SPACES=true python app.py
TEST-COMMIT: to make hugging face spaces rebuild. Again.
"""
if __name__ == "__main__":
# from src.huggingface_spaces.print_gradio_info import print_gradio_info
# print_gradio_info()
from src.plan.app_text2plan import run_app_text2plan
run_app_text2plan()
# from src.huggingface_spaces.app_state4 import demo
# demo.launch()