imranali291
commited on
Update README.md
Browse files
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("
|
37 |
-
model = T5ForConditionalGeneration.from_pretrained("
|
38 |
|
39 |
# Example input
|
40 |
-
input_text = "
|
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
|