Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,7 +42,7 @@ class GroqLLM(LLM):
|
|
| 42 |
return data["choices"][0]["message"]["content"]
|
| 43 |
|
| 44 |
# Initialize Groq API LLM
|
| 45 |
-
llm = GroqLLM(api_key=
|
| 46 |
|
| 47 |
# Function to extract content from a public Google Drive PDF link
|
| 48 |
def extract_pdf_content(drive_url):
|
|
|
|
| 42 |
return data["choices"][0]["message"]["content"]
|
| 43 |
|
| 44 |
# Initialize Groq API LLM
|
| 45 |
+
llm = GroqLLM(api_key=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)
|
| 46 |
|
| 47 |
# Function to extract content from a public Google Drive PDF link
|
| 48 |
def extract_pdf_content(drive_url):
|