Bijoy09 commited on
Commit
d1b5757
1 Parent(s): 1b1a84c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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