Spaces:
Runtime error
Runtime error
Update main.py
#3
by
nuojohnchen
- opened
main.py
CHANGED
|
@@ -6,7 +6,7 @@ from transformers import pipeline
|
|
| 6 |
|
| 7 |
app = FastAPI()
|
| 8 |
|
| 9 |
-
pipe_flan = pipeline("text2text-generation", model="
|
| 10 |
|
| 11 |
@app.get("/infer_t5")
|
| 12 |
def t5(input):
|
|
|
|
| 6 |
|
| 7 |
app = FastAPI()
|
| 8 |
|
| 9 |
+
pipe_flan = pipeline("text2text-generation", model="FreedomIntelligence/Apollo-0.5B")
|
| 10 |
|
| 11 |
@app.get("/infer_t5")
|
| 12 |
def t5(input):
|