imranali291 commited on
Commit
eaeb982
·
verified ·
1 Parent(s): d6187ad

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -33,11 +33,11 @@ Use the code below to get started with the model.
33
  from transformers import T5Tokenizer, T5ForConditionalGeneration
34
 
35
  # Load the tokenizer and model
36
- tokenizer = T5Tokenizer.from_pretrained("john_doe/fine-tuned-t5-small")
37
- model = T5ForConditionalGeneration.from_pretrained("john_doe/fine-tuned-t5-small")
38
 
39
  # Example input
40
- input_text = "Translate English to French: The cat is on the table."
41
 
42
  # Tokenize input
43
  input_ids = tokenizer(input_text, return_tensors="pt").input_ids
 
33
  from transformers import T5Tokenizer, T5ForConditionalGeneration
34
 
35
  # Load the tokenizer and model
36
+ tokenizer = T5Tokenizer.from_pretrained("imranali291/flux-prompt-enhancer")
37
+ model = T5ForConditionalGeneration.from_pretrained("imranali291/flux-prompt-enhancer")
38
 
39
  # Example input
40
+ input_text = "Futuristic cityscape at twilight descent."
41
 
42
  # Tokenize input
43
  input_ids = tokenizer(input_text, return_tensors="pt").input_ids