Spaces:
Running on Zero
Running on Zero
| """Hugging Face Space entry point. | |
| HF Gradio Spaces run ``python app.py`` from the repo root. Keeping the real | |
| implementation in the ``webapp`` package (so ``from webapp import backend`` etc. | |
| resolve cleanly) and exposing this thin shim at the root gives HF the entry it | |
| expects while ``python -m webapp.server`` keeps working locally. | |
| """ | |
| from webapp.server import main | |
| if __name__ == "__main__": | |
| main() | |