NeuroTrace-AI / app.py
MalikShehram's picture
Create app.py
53713ab verified
raw
history blame contribute delete
368 Bytes
import frontend
import backend
# 1. Get the prediction logic from the backend
prediction_logic = backend.process_and_predict
# 2. Pass the logic to the frontend to build the UI
app = frontend.build_ui(prediction_logic)
# 3. Launch the application
if __name__ == "__main__":
print("Starting Web Server...")
app.launch(server_name="0.0.0.0", server_port=7860)