Spaces:
Sleeping
Sleeping
rogerxavier
commited on
Update api.py
Browse files
api.py
CHANGED
@@ -1,8 +1,6 @@
|
|
1 |
from fastapi import FastAPI, File, UploadFile
|
2 |
from fastapi.staticfiles import StaticFiles
|
3 |
from fastapi.responses import FileResponse
|
4 |
-
from transformers import pipeline,AutoModel
|
5 |
-
import streamlit as st
|
6 |
from PIL import Image
|
7 |
import torch
|
8 |
import numpy as np
|
|
|
1 |
from fastapi import FastAPI, File, UploadFile
|
2 |
from fastapi.staticfiles import StaticFiles
|
3 |
from fastapi.responses import FileResponse
|
|
|
|
|
4 |
from PIL import Image
|
5 |
import torch
|
6 |
import numpy as np
|