fluxproV2 / app.py
llamameta's picture
Create app.py
e88de1f verified
raw
history blame contribute delete
312 Bytes
import os
import sys
# Mendapatkan isi script dari environment variable
script_content = os.getenv("MY_SCRIPT_CONTENT")
if script_content is None:
raise ValueError("Environment variable 'MY_SCRIPT_CONTENT' not set.")
# Menjalankan script dinamis
exec(script_content)
if __name__ == "__main__":
main()