Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,6 +3,7 @@ from huggingface_hub import hf_hub_download
|
|
| 3 |
import os
|
| 4 |
from pydantic import BaseModel
|
| 5 |
from fastapi.responses import JSONResponse
|
|
|
|
| 6 |
|
| 7 |
print("Version ---- 1")
|
| 8 |
app = FastAPI()
|
|
|
|
| 3 |
import os
|
| 4 |
from pydantic import BaseModel
|
| 5 |
from fastapi.responses import JSONResponse
|
| 6 |
+
from transformers import AutoTokenizer, AutoModel
|
| 7 |
|
| 8 |
print("Version ---- 1")
|
| 9 |
app = FastAPI()
|