Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ import uuid
|
|
10 |
from sentence_transformers import SentenceTransformer
|
11 |
import os
|
12 |
|
13 |
-
|
14 |
model_name = 'google/flan-t5-base'
|
15 |
model = T5ForConditionalGeneration.from_pretrained(model_name, device_map='auto', offload_folder="offload")
|
16 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
|
|
10 |
from sentence_transformers import SentenceTransformer
|
11 |
import os
|
12 |
|
13 |
+
f =''
|
14 |
model_name = 'google/flan-t5-base'
|
15 |
model = T5ForConditionalGeneration.from_pretrained(model_name, device_map='auto', offload_folder="offload")
|
16 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|