import gradio as gr, os M="/data/drill-marker.txt" if os.access("/data", os.W_OK) and not os.path.exists(M): open(M,"w").write("drill-ce2534e8a5e85c6d") def read(_): return open(M).read() if os.path.exists(M) else "NO MARKER" gr.Interface(read,"text","text",api_name="predict").launch(server_name="0.0.0.0")