Titeiiko commited on
Commit
5e04aff
1 Parent(s): e8fe76d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -2,6 +2,7 @@ from fastapi import FastAPI, Request
2
  from fastapi.responses import HTMLResponse, PlainTextResponse
3
  from fastapi.templating import Jinja2Templates
4
  import uvicorn
 
5
  subprocess.run(["pip", "install", "transformers"], check=True)
6
  from transformers import pipeline
7
 
 
2
  from fastapi.responses import HTMLResponse, PlainTextResponse
3
  from fastapi.templating import Jinja2Templates
4
  import uvicorn
5
+ import subprocess
6
  subprocess.run(["pip", "install", "transformers"], check=True)
7
  from transformers import pipeline
8