squadra / main.py
sebaacademia's picture
Rename app.py to main.py
831f22f verified
raw
history blame contribute delete
196 Bytes
import typer
from src.app import demo
def main(host: str = "0.0.0.0", port: int = 7860):
demo.launch(server_name= host, server_port= port)
if __name__ == "__main__":
typer.run(main)