OjciecTadeusz's picture
Upload app.py with huggingface_hub
5fddc9e verified
raw
history blame contribute delete
267 Bytes
import os
import gradio as gr
from src.app.ui import build_ui
def main():
demo = build_ui()
demo.launch(
server_name="0.0.0.0",
server_port=int(os.getenv("PORT", "7860")),
show_api=False,
)
if __name__ == "__main__":
main()