Spaces:
Runtime error
Runtime error
tk update
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ from transformers import pipeline
|
|
| 5 |
app=FastAPI()
|
| 6 |
|
| 7 |
# Initialize the text generation pipeline
|
| 8 |
-
pipe = pipeline("text2text-generation", model="meta-llama/Meta-Llama-3.1-8B-Instruct")
|
| 9 |
|
| 10 |
|
| 11 |
@app.get("/")
|
|
|
|
| 5 |
app=FastAPI()
|
| 6 |
|
| 7 |
# Initialize the text generation pipeline
|
| 8 |
+
pipe = pipeline("text2text-generation", model="meta-llama/Meta-Llama-3.1-8B-Instruct",token=HF_KEY)
|
| 9 |
|
| 10 |
|
| 11 |
@app.get("/")
|