qianmuuq commited on
Commit
7ab77dc
1 Parent(s): 65d4457

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +0 -2
main.py CHANGED
@@ -159,8 +159,6 @@ def getChat(text,model,tokenizer):
159
 
160
  app = FastAPI()
161
 
162
- pipe_flan = pipeline("text2text-generation", model="google/flan-t5-small")
163
-
164
  def model_init():
165
  # args = set_args()
166
  acuda = torch.cuda.is_available() and not args.no_cuda
 
159
 
160
  app = FastAPI()
161
 
 
 
162
  def model_init():
163
  # args = set_args()
164
  acuda = torch.cuda.is_available() and not args.no_cuda