Update app.py
Browse files
app.py
CHANGED
|
@@ -2,6 +2,7 @@ import requests
|
|
| 2 |
from fastapi import FastAPI, HTTPException
|
| 3 |
from safetensors.torch import load_file
|
| 4 |
import io
|
|
|
|
| 5 |
|
| 6 |
# Create the FastAPI app
|
| 7 |
app = FastAPI()
|
|
|
|
| 2 |
from fastapi import FastAPI, HTTPException
|
| 3 |
from safetensors.torch import load_file
|
| 4 |
import io
|
| 5 |
+
from fastapi.responses import HTMLResponse
|
| 6 |
|
| 7 |
# Create the FastAPI app
|
| 8 |
app = FastAPI()
|