Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
from fastapi import FastAPI
|
5 |
from fastapi.staticfiles import StaticFiles
|
6 |
from fastapi.responses import FileResponse
|
7 |
-
from pyannote.audio import Pipeline
|
8 |
|
9 |
#from transformers import pipeline
|
10 |
|
@@ -24,7 +24,7 @@ def t5(input):
|
|
24 |
|
25 |
# @app.get("/")
|
26 |
#def index() -> FileResponse:
|
27 |
-
return FileResponse(path="/app/static/index.html", media_type="text/html")
|
28 |
|
29 |
|
30 |
|
|
|
4 |
from fastapi import FastAPI
|
5 |
from fastapi.staticfiles import StaticFiles
|
6 |
from fastapi.responses import FileResponse
|
7 |
+
#from pyannote.audio import Pipeline
|
8 |
|
9 |
#from transformers import pipeline
|
10 |
|
|
|
24 |
|
25 |
# @app.get("/")
|
26 |
#def index() -> FileResponse:
|
27 |
+
# return FileResponse(path="/app/static/index.html", media_type="text/html")
|
28 |
|
29 |
|
30 |
|