File size: 612 Bytes
b950dbe |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
# Streamlit Cloud entrypoint. We reuse your existing app as-is.
# Main requirement: keep the module name and path exactly as below so Linux (Streamlit Cloud) can import it.
# IMPORTANT: Do not call st.set_page_config here to avoid double configuration.
# The original module handles all Streamlit layout and rendering.
try:
import GUI_CLinicalTrial # noqa: F401 # importing runs the Streamlit app defined at top-level
except Exception as e:
import streamlit as st
st.error("Failed to import GUI_CLinicalTrial.py. Ensure the file exists and has no syntax errors.")
st.exception(e)
|