Spaces:
Runtime error
Runtime error
Update app.py
Browse files5 unmodified lines67891011125 unmodified lines# 🔐 API KEY (Hugging Face Secret)# -------------------------api_key = os.getenv("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")if not api_key:st.error("❌ Please set GROQ_API_KEY in Hugging Face Secrets")st.stop()5 unmodified lines678910111213145 unmodified lines# 🔐 API KEY (Hugging Face Secret)# -------------------------api_key = os.getenv("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")client = Groq(api_key=os.environ.get("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"),)if not api_key:st.error("❌ Please set GROQ_API_KEY in Hugging Face Secrets")st.stop()
app.py+3-1