pseudotheos commited on
Commit
bad9b95
1 Parent(s): 8d2f834

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -4,8 +4,9 @@ import socket
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
11
  from diffusers import (
 
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 fastapi.middleware.cors import CORSMiddleware
10
  from PIL import Image
11
  import torch
12
  from diffusers import (