Spaces:
Runtime error
Runtime error
File size: 554 Bytes
920910a 910db18 920910a 910db18 920910a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Development runner for the openEHR to FHIR Questionnaire Converter.
This script runs the app with debug mode enabled and provides a local URL.
"""
import subprocess
import sys
import os
if __name__ == "__main__":
# Ensure the current directory is in the Python path
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
# Run the app with debug mode enabled using uv
subprocess.run([
"uv", "run",
"app.py",
"--debug",
"--port", "7860"
])
|