mirror of
https://github.com/imrayya/stable-diffusion-webui-Prompt_Generator.git
synced 2024-01-11 09:00:44 +01:00
Fix spelling mistakes
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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=[
|
||||
|
||||
Reference in New Issue
Block a user