jbilcke-hf HF staff commited on
Commit
d3759c5
1 Parent(s): d32c6ac

small improvement

Browse files
Files changed (2) hide show
  1. public/index.html +1 -1
  2. src/index.mts +3 -5
public/index.html CHANGED
@@ -53,7 +53,7 @@
53
  >
54
  <span class="py-3" x-show="state === 'streaming'">
55
  Streamed <span x-text="humanFileSize(size, true, 2)"></span> so far..<br />Note: this version generates up
56
- to 1024 tokens.</span
57
  >
58
  </div>
59
  </div>
 
53
  >
54
  <span class="py-3" x-show="state === 'streaming'">
55
  Streamed <span x-text="humanFileSize(size, true, 2)"></span> so far..<br />Note: this version generates up
56
+ to 1200 tokens.</span
57
  >
58
  </div>
59
  </div>
src/index.mts CHANGED
@@ -73,12 +73,10 @@ ${daisy}
73
  # Guidelines
74
  - Never repeat the instructions, instead write the final code
75
  - To generate images use the /image endpoint: <img src="/image?prompt=caption of the photo" />
76
- - Be descriptive for photo caption, use at last 10 words.
77
- - **NEVER** add more than 3 or 4 images
78
- - Never write lists that are too long
79
  - You must use TailwindCSS utility classes (Tailwind is already injected in the page).
80
- - If needed, embed new custom JS code using <script>...</script>
81
- - You MUST use English, not Latin! Write in English! Never write "lorem ipsum.."
82
  - Use a central layout to wrap everything in a <div class='flex flex-col items-center'>
83
  # Output
84
  <html>
 
73
  # Guidelines
74
  - Never repeat the instructions, instead write the final code
75
  - To generate images use the /image endpoint: <img src="/image?prompt=caption of the photo" />
76
+ - Only generate a few images, and be descriptive for photo caption, use at last 10 words.
 
 
77
  - You must use TailwindCSS utility classes (Tailwind is already injected in the page).
78
+ - Write application logic inside a JS <script></script> tag
79
+ - This is not a demo app, so you MUST use English, no Latin! Write in English!
80
  - Use a central layout to wrap everything in a <div class='flex flex-col items-center'>
81
  # Output
82
  <html>