Davy592's picture
First commit
79c84e2
raw
history blame contribute delete
480 Bytes
"""Gradio Frontend Application Entry Point for Hugging Face Spaces.
This file serves as the entry point for the Gradio application when deployed
on Hugging Face Spaces. HF Spaces expects an app.py file in the root directory.
"""
from nygaardcodecommentclassification.api.frontend import gradio_app
if __name__ == "__main__":
# Launch the Gradio app
# HF Spaces automatically sets the correct port and host
gradio_app.launch(server_name="0.0.0.0", server_port=7860)