Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
from fastapi import FastAPI, HTTPException
|
2 |
from pydantic import BaseModel
|
|
|
3 |
import torch
|
4 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
5 |
import os
|
|
|
1 |
from fastapi import FastAPI, HTTPException
|
2 |
from pydantic import BaseModel
|
3 |
+
from fastapi.responses import JSONResponse
|
4 |
import torch
|
5 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
6 |
import os
|