Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,6 +2,7 @@ from fastapi import FastAPI
|
|
| 2 |
from fastapi.middleware.cors import CORSMiddleware
|
| 3 |
from fastapi.responses import StreamingResponse
|
| 4 |
from pydantic import BaseModel
|
|
|
|
| 5 |
import os, logging, time, threading
|
| 6 |
|
| 7 |
from loader import Loader
|
|
|
|
| 2 |
from fastapi.middleware.cors import CORSMiddleware
|
| 3 |
from fastapi.responses import StreamingResponse
|
| 4 |
from pydantic import BaseModel
|
| 5 |
+
from huggingface_hub import InferenceClient
|
| 6 |
import os, logging, time, threading
|
| 7 |
|
| 8 |
from loader import Loader
|