PlanExe / app.py
Simon Strandgaard
print_gradio_info() added
2ea8a4a
raw
history blame
415 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.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_state2 import demo
demo.launch()