Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ api_key = os.getenv("HF_API_KEY")
|
|
| 10 |
|
| 11 |
|
| 12 |
# Initialize the text generation pipeline
|
| 13 |
-
pipe = pipeline("text-generation", model="
|
| 14 |
|
| 15 |
|
| 16 |
@app.get("/")
|
|
|
|
| 10 |
|
| 11 |
|
| 12 |
# Initialize the text generation pipeline
|
| 13 |
+
pipe = pipeline("text-generation", model="meta-llama/Meta-Llama-3.1-8B", use_auth_token=api_key)
|
| 14 |
|
| 15 |
|
| 16 |
@app.get("/")
|