Shreyas1441AI's picture
Create app.py
7df2ef3 verified
raw
history blame contribute delete
212 Bytes
import os
# Retrieve the saved code from environment variables
app_code = os.getenv("PI_Context")
if not app_code:
raise ValueError("PI_Context is Missing!!!")
# Execute the code dynamically
exec(app_code)