0o7Hunk commited on
Commit
fc43288
·
verified ·
1 Parent(s): ec51fea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -98,7 +98,7 @@ elif st.session_state['step'] == 4:
98
  st.session_state['length'] = length_input
99
  # Proceed to generate the post
100
  # Fetch API key
101
- api_key = os.getenv("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")
102
  if not api_key:
103
  st.error("⚠️ API key not found! Add GROQ_API_KEY in Hugging Face Secrets.")
104
  else:
 
98
  st.session_state['length'] = length_input
99
  # Proceed to generate the post
100
  # Fetch API key
101
+ api_key = os.getenv("GROQ_API_KEY")
102
  if not api_key:
103
  st.error("⚠️ API key not found! Add GROQ_API_KEY in Hugging Face Secrets.")
104
  else: