pseudotheos
commited on
Commit
•
8d2f834
1
Parent(s):
a6c8ce4
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import socket
|
|
4 |
import requests
|
5 |
import sys
|
6 |
import logging
|
7 |
-
from fastapi import FastAPI, File, UploadFile, Form
|
8 |
from fastapi.responses import FileResponse, StreamingResponse
|
9 |
from PIL import Image
|
10 |
import torch
|
|
|
4 |
import requests
|
5 |
import sys
|
6 |
import logging
|
7 |
+
from fastapi import FastAPI, File, UploadFile, Form, CORSMiddleware
|
8 |
from fastapi.responses import FileResponse, StreamingResponse
|
9 |
from PIL import Image
|
10 |
import torch
|