Spaces:
Runtime error
Runtime error
Update server.py
Browse files
server.py
CHANGED
@@ -4,6 +4,7 @@ import base64
|
|
4 |
from io import BytesIO
|
5 |
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
6 |
|
|
|
7 |
from fastapi import FastAPI
|
8 |
import numpy as np
|
9 |
from PIL import Image
|
|
|
4 |
from io import BytesIO
|
5 |
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
6 |
|
7 |
+
import torch
|
8 |
from fastapi import FastAPI
|
9 |
import numpy as np
|
10 |
from PIL import Image
|