Spaces:
Sleeping
Sleeping
File size: 487 Bytes
c1eb573 a6856e0 b84203e 9fa751e a6856e0 4713899 a6856e0 c1eb573 ec924d1 c1eb573 73ec74c 46248b6 ec924d1 46248b6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | """Hugging Face Spaces entrypoint for Myco."""
import os
os.environ.setdefault("GRADIO_SSR_MODE", "False")
from gradio.themes import Soft
from ui.gradio_app import build_app
from ui.styles import APP_CSS
LAUNCH_OPTIONS = {
"theme": Soft(primary_hue="green", secondary_hue="emerald"),
"css": APP_CSS,
"ssr_mode": False,
}
demo = build_app()
if __name__ == "__main__":
demo.queue(max_size=5)
demo.launch(**LAUNCH_OPTIONS)
demo.launch(server_name="0.0.0.0")
|