Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ import spaces
|
|
| 5 |
import torch
|
| 6 |
import gradio as gr
|
| 7 |
from typing import List, Union, Optional, Dict, Any
|
| 8 |
-
from fastapi import Header, HTTPException, status
|
| 9 |
from pydantic import BaseModel
|
| 10 |
from huggingface_hub import snapshot_download
|
| 11 |
from sentence_transformers import SentenceTransformer
|
|
|
|
| 5 |
import torch
|
| 6 |
import gradio as gr
|
| 7 |
from typing import List, Union, Optional, Dict, Any
|
| 8 |
+
from fastapi import APIRouter, Header, HTTPException, status
|
| 9 |
from pydantic import BaseModel
|
| 10 |
from huggingface_hub import snapshot_download
|
| 11 |
from sentence_transformers import SentenceTransformer
|