Spaces:
Runtime error
Runtime error
Rockramsri
commited on
Commit
•
0cfcaae
1
Parent(s):
3c75938
update
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import os
|
|
6 |
app=FastAPI()
|
7 |
|
8 |
# Initialize the text generation pipeline
|
9 |
-
pipe = pipeline("text2text-generation", model="
|
10 |
|
11 |
|
12 |
@app.get("/")
|
|
|
6 |
app=FastAPI()
|
7 |
|
8 |
# Initialize the text generation pipeline
|
9 |
+
pipe = pipeline("text2text-generation", model="lmstudio-community/Meta-Llama-3.1-8B-Instruct-GGUF",token=os.getenv('HF_KEY'))
|
10 |
|
11 |
|
12 |
@app.get("/")
|