gokaygokay
commited on
Commit
•
2d555e5
1
Parent(s):
2fd5ae5
Update README.md
Browse files
README.md
CHANGED
@@ -25,10 +25,10 @@ enhancer = pipeline('text2text-generation', model=model, tokenizer=tokenizer, re
|
|
25 |
max_target_length = 256
|
26 |
prefix = "enhance prompt: "
|
27 |
|
28 |
-
short_prompt = "beautiful house"
|
29 |
answer = enhancer(prefix + short_prompt, max_length=max_target_length)
|
30 |
final_answer = answer[0]['generated_text']
|
31 |
print(final_answer)
|
32 |
|
33 |
-
# a two-story house with white walls and dark
|
34 |
```
|
|
|
25 |
max_target_length = 256
|
26 |
prefix = "enhance prompt: "
|
27 |
|
28 |
+
short_prompt = "beautiful house with text 'hello'"
|
29 |
answer = enhancer(prefix + short_prompt, max_length=max_target_length)
|
30 |
final_answer = answer[0]['generated_text']
|
31 |
print(final_answer)
|
32 |
|
33 |
+
# a two-story house with white walls and dark wooden beams, the house has "hello' written in large black letters on the front wall, there is a small balcony with a glass railing above it, a tree with green leaves is to the left of the house, a stone pathway leads up from the bottom center towards the entrance of the house, a tall palm tree stands to the right side of the house, another smaller tree is to its left, a clear blue sky with scattered clouds fills most of the background, some shadows are cast by the trees and the house.
|
34 |
```
|