Spaces:
Sleeping
Sleeping
杨万青 commited on
Commit ·
aa640b6
1
Parent(s): 03483cf
Update
Browse files
main.py
CHANGED
|
@@ -8,9 +8,9 @@ app = FastAPI()
|
|
| 8 |
def read_root():
|
| 9 |
return {"Hello": "World!"}
|
| 10 |
|
| 11 |
-
pipe_flan = pipeline("text-generation", model="Phind/Phind-CodeLlama-34B-v2")
|
| 12 |
-
@app.get("/ffmpeg")
|
| 13 |
-
def ffmpeg(input):
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
|
|
|
| 8 |
def read_root():
|
| 9 |
return {"Hello": "World!"}
|
| 10 |
|
| 11 |
+
# pipe_flan = pipeline("text-generation", model="Phind/Phind-CodeLlama-34B-v2")
|
| 12 |
+
# @app.get("/ffmpeg")
|
| 13 |
+
# def ffmpeg(input):
|
| 14 |
+
# output = pipe_flan(input)
|
| 15 |
+
# print(output)
|
| 16 |
+
# return {"output": output[0]["generated_text"]}
|