Spaces:
Runtime error
Runtime error
Update book_generator.py
Browse files- book_generator.py +1 -1
book_generator.py
CHANGED
|
@@ -7,7 +7,7 @@ from typing import Dict
|
|
| 7 |
import gradio as gr # Import Gradio
|
| 8 |
|
| 9 |
# Step 3: Set the environment variable for the Groq API Key
|
| 10 |
-
os.environ["GROQ_API_KEY"] = "
|
| 11 |
|
| 12 |
# Step 4: Define helper functions for structured book generation
|
| 13 |
def create_book_agent(
|
|
|
|
| 7 |
import gradio as gr # Import Gradio
|
| 8 |
|
| 9 |
# Step 3: Set the environment variable for the Groq API Key
|
| 10 |
+
os.environ["GROQ_API_KEY"] = "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" # Updated API Key
|
| 11 |
|
| 12 |
# Step 4: Define helper functions for structured book generation
|
| 13 |
def create_book_agent(
|