Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,8 +32,9 @@ def read_document(file):
|
|
| 32 |
return f"Error processing file: {file.name} - {str(e)}"
|
| 33 |
|
| 34 |
# Pass your API key directly when initializing the Groq client
|
|
|
|
| 35 |
api_key = "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" # Replace with your actual API key
|
| 36 |
-
|
| 37 |
|
| 38 |
# client = Groq()
|
| 39 |
|
|
|
|
| 32 |
return f"Error processing file: {file.name} - {str(e)}"
|
| 33 |
|
| 34 |
# Pass your API key directly when initializing the Groq client
|
| 35 |
+
|
| 36 |
api_key = "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" # Replace with your actual API key
|
| 37 |
+
client = Groq(api_key=api_key)
|
| 38 |
|
| 39 |
# client = Groq()
|
| 40 |
|