mirror of
https://github.com/steelcityamir/safe-content-ai.git
synced 2024-09-11 18:37:31 +03:00
Update main.py
This commit is contained in:
parent
e68434fb94
commit
7c27abe4bc
3
main.py
3
main.py
@ -5,7 +5,8 @@ import hashlib
|
||||
import logging
|
||||
from fastapi import FastAPI, File, UploadFile
|
||||
from fastapi.responses import JSONResponse
|
||||
from transformers import pipeline, PipelineException
|
||||
from transformers import pipeline
|
||||
from transformers.pipelines import PipelineException
|
||||
from PIL import Image
|
||||
from cachetools import Cache
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user