Spaces:
Sleeping
Sleeping
AndriiPets
commited on
Commit
•
063cdbd
1
Parent(s):
fa3354a
initial
Browse files- generator.py +1 -1
generator.py
CHANGED
@@ -16,7 +16,7 @@ model_name_or_path = "flax-community/t5-recipe-generation"
|
|
16 |
task = "text2text-generation"
|
17 |
|
18 |
tokenizer = AutoTokenizer.from_pretrained(
|
19 |
-
model_name_or_path, cache_dir='C:\Users\pezol\OneDrive\Desktop\django projects\spaces_chefGen\ChefGen\cache')
|
20 |
generator = pipeline(task, model=model_name_or_path,
|
21 |
tokenizer=model_name_or_path)
|
22 |
|
|
|
16 |
task = "text2text-generation"
|
17 |
|
18 |
tokenizer = AutoTokenizer.from_pretrained(
|
19 |
+
model_name_or_path, cache_dir=r'C:\Users\pezol\OneDrive\Desktop\django projects\spaces_chefGen\ChefGen\cache')
|
20 |
generator = pipeline(task, model=model_name_or_path,
|
21 |
tokenizer=model_name_or_path)
|
22 |
|