engrharis commited on
Commit
6078862
·
verified ·
1 Parent(s): 1873348

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -7,8 +7,8 @@ import requests
7
  from stl import mesh
8
  from pathlib import Path
9
 
10
- # Access the Groq API key from Streamlit's secrets management
11
- GROQ_API_KEY = st.secrets["groq"]["api_key"]
12
  GROQ_API_URL = "https://api.groq.com/v1/query"
13
 
14
  # Function to generate a technical report using the AI model (Groq API)
 
7
  from stl import mesh
8
  from pathlib import Path
9
 
10
+ # Directly assign the Groq API key (without using secrets)
11
+ GROQ_API_KEY = "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"
12
  GROQ_API_URL = "https://api.groq.com/v1/query"
13
 
14
  # Function to generate a technical report using the AI model (Groq API)