gokaygokay commited on
Commit
2d555e5
1 Parent(s): 2fd5ae5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
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 brown roof, large windows on the upper floor, black shutters on the windows, a chimney on top of one of the windows, a small balcony with a metal railing in front of the house, a tree with green leaves to its left side, another tree with green foliage to their right, clear blue sky above, sunlight casting shadows from the trees onto the house.
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
  ```