Spaces:
Runtime error
Runtime error
Update app.py
Browse files31 unmodified lines3233343536373831 unmodified lines# Instead of hardcoding the DB URI, get it from an environment variable.# This lets you plug in any single DB by changing the DATABASE_URI environment variable.DATABASE_URI = os.getenv("DATABASE_URI", "employee.db")GROQ_API_KEY = os.getenv("GROQ_API_KEY")os.environ["GROQ_API_KEY"] = GROQ_API_KEY31 unmodified lines3233343536373831 unmodified lines# Instead of hardcoding the DB URI, get it from an environment variable.# This lets you plug in any single DB by changing the DATABASE_URI environment variable.DATABASE_URI = os.getenv("DATABASE_URI", "sqlite:///employee.db")GROQ_API_KEY = os.getenv("GROQ_API_KEY")os.environ["GROQ_API_KEY"] = GROQ_API_KEY
app.py+1-1