Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ sentiment_analyzer = pipeline("sentiment-analysis", model="distilbert-base-uncas
|
|
| 16 |
|
| 17 |
# Set up your Groq API endpoint and API key
|
| 18 |
GROQ_API_URL = "https://api.groq.com/v1/llama"
|
| 19 |
-
GROQ_API_KEY = "
|
| 20 |
|
| 21 |
def extract_text_from_pdf(file):
|
| 22 |
"""Extract text from uploaded PDF file."""
|
|
|
|
| 16 |
|
| 17 |
# Set up your Groq API endpoint and API key
|
| 18 |
GROQ_API_URL = "https://api.groq.com/v1/llama"
|
| 19 |
+
GROQ_API_KEY = "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" # Replace with your actual API key
|
| 20 |
|
| 21 |
def extract_text_from_pdf(file):
|
| 22 |
"""Extract text from uploaded PDF file."""
|