Spaces:
Sleeping
Sleeping
Commit
·
31c4789
1
Parent(s):
c40844f
Update app.py
Browse files
app.py
CHANGED
@@ -18,6 +18,7 @@ import torch
|
|
18 |
import pandas as pd
|
19 |
from huggingface_hub import hf_hub_download
|
20 |
from safetensors.torch import load_file # Import Safetensors loader
|
|
|
21 |
|
22 |
# Initialize FastAPI app
|
23 |
app = FastAPI()
|
|
|
18 |
import pandas as pd
|
19 |
from huggingface_hub import hf_hub_download
|
20 |
from safetensors.torch import load_file # Import Safetensors loader
|
21 |
+
from typing import Dict, Optional
|
22 |
|
23 |
# Initialize FastAPI app
|
24 |
app = FastAPI()
|