diff --git a/README.md b/README.md index d53c7bd..efc9307 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ The initial use of the model may take longer as it needs to be downloaded to you - **Repetition Penalty**: The parameter for repetition penalty. 1.0 means no penalty. See [this paper](https://arxiv.org/pdf/1909.05858.pdf) for more details. Default setting is 1.2 - **How Many To Generate**: The number of results to generate - **Use blacklist?**: Using `.\extensions\stable-diffusion-webui-Prompt_Generator\blacklist.txt`. It will delete any matches to the generated result (case insensitive). Each item to be filtered out should be on a new line. *Be aware that it simply deletes it and doesn't generate more to make up for the lost words* -- **Use puncation**: Allows the use commas in the output +- **Use punctuation**: Allows the use commas in the output ## Models diff --git a/scripts/prompt_generator.py b/scripts/prompt_generator.py index e98d7e3..c88ea00 100644 --- a/scripts/prompt_generator.py +++ b/scripts/prompt_generator.py @@ -159,7 +159,7 @@ def on_ui_tabs(): with gr.Row(): populate_models() generate_dropdown = gr.Dropdown(choices=list(models.keys()), value="FredZhang7", label = "Which model to use?",show_label=True) - use_puncation_check = gr.Checkbox(label="Use puncation?") + use_punctuation_check = gr.Checkbox(label="Use punctuation?") generateButton_fred = gr.Button( value="Generate", elem_id="generate_button") with gr.Column(visible=False) as results_col: @@ -182,7 +182,7 @@ def on_ui_tabs(): generateButton_fred.click(fn=generate_longer_generic, inputs=[ promptTxt, temp_slider, top_k_slider, max_length_slider, repetition_penalty_slider, num_return_sequences_slider, - generate_dropdown,use_puncation_check, use_blacklist_checkbox], + generate_dropdown,use_punctuation_check, use_blacklist_checkbox], outputs=[results, send_to_img2img, send_to_txt2img, send_to_text, results_col, warning, promptNum_col]) send_to_img2img.click(add_to_prompt, inputs=[