Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,7 @@ from pydantic import BaseModel
|
|
4 |
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
|
5 |
from IndicTransToolkit import IndicProcessor
|
6 |
from fastapi.middleware.cors import CORSMiddleware
|
|
|
7 |
|
8 |
app = FastAPI()
|
9 |
|
|
|
4 |
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
|
5 |
from IndicTransToolkit import IndicProcessor
|
6 |
from fastapi.middleware.cors import CORSMiddleware
|
7 |
+
import torch
|
8 |
|
9 |
app = FastAPI()
|
10 |
|