RyanMullins commited on
Commit
9220551
1 Parent(s): d0eb7f5

Better demo prompts

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -16,9 +16,9 @@ _MODEL_IDENTIFIER = 'google/gemma-2b-it'
16
  _DETECTOR_IDENTIFIER = 'gg-hf/detector_2b_1.0_demo'
17
 
18
  _PROMPTS: tuple[str] = (
19
- 'prompt 1',
20
- 'prompt 2',
21
- 'prompt 3',
22
  )
23
 
24
  _TORCH_DEVICE = (
@@ -161,7 +161,7 @@ with gr.Blocks() as demo:
161
  purposes.
162
 
163
  ```json
164
- {json.dumps(_WATERMARK_CONFIG_DICT)}
165
  ```
166
 
167
  Watermarks are applied by initializing a `SynthIDTextWatermarkingConfig`
 
16
  _DETECTOR_IDENTIFIER = 'gg-hf/detector_2b_1.0_demo'
17
 
18
  _PROMPTS: tuple[str] = (
19
+ 'Write an essay about my pets, a cat named Mika and a dog named Cleo.',
20
+ 'Tell me everything you can about Portugal.',
21
+ 'What is Hugging Face?',
22
  )
23
 
24
  _TORCH_DEVICE = (
 
161
  purposes.
162
 
163
  ```json
164
+ {json.dumps(_WATERMARK_CONFIG_DICT, indent=2)}
165
  ```
166
 
167
  Watermarks are applied by initializing a `SynthIDTextWatermarkingConfig`