Nick088 commited on
Commit
e8b0857
·
verified ·
1 Parent(s): e857352

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -64,7 +64,7 @@ top_k = gr.Slider(value=50, minimum=1, maximum=100, step=1, label="Top K", info=
64
  seed = gr.Slider(value=42, minimum=0, maximum=2**32-1, step=1, label="Seed", info="A starting point to initiate the generation process, put 0 for a random one")
65
 
66
  examples = [
67
- ["A storefront with 'Text to Image' written on it.", 512, 1.2, 0.5, "fp16", 1, 50, 42]
68
  ]
69
 
70
  gr.Interface(
@@ -72,6 +72,6 @@ gr.Interface(
72
  inputs=[your_prompt, task_prefix, max_new_tokens, repetition_penalty, temperature, model_precision_type, top_p, top_k, seed],
73
  outputs=gr.Textbox(label="Better Prompt"),
74
  title="SuperPrompt-v1",
75
- description='Make your prompts more detailed! <br> <a href="https://github.com/Nick088Official/SuperPrompt-v1">Github Repository & Model used</a> <br> <a href="https://brianfitzgerald.xyz/prompt-augmentation/">Model Blog</a> <br> Task Prefix: "Expand the following prompt to add more detail:" is already setted! <br> Hugging Face Space made by [Nick088](https://linktr.ee/Nick088)',
76
  examples=examples,
77
  ).launch(share=True)
 
64
  seed = gr.Slider(value=42, minimum=0, maximum=2**32-1, step=1, label="Seed", info="A starting point to initiate the generation process, put 0 for a random one")
65
 
66
  examples = [
67
+ ["A storefront with 'Text to Image' written on it.", "Expand the following prompt to add more detail", 512, 1.2, 0.5, "fp16", 1, 50, 42]
68
  ]
69
 
70
  gr.Interface(
 
72
  inputs=[your_prompt, task_prefix, max_new_tokens, repetition_penalty, temperature, model_precision_type, top_p, top_k, seed],
73
  outputs=gr.Textbox(label="Better Prompt"),
74
  title="SuperPrompt-v1",
75
+ description='Make your prompts more detailed! <br> <a href="https://github.com/Nick088Official/SuperPrompt-v1">Github Repository & Model used</a> <br> <a href="https://brianfitzgerald.xyz/prompt-augmentation/">Model Blog</a> <br> Hugging Face Space made by [Nick088](https://linktr.ee/Nick088)',
76
  examples=examples,
77
  ).launch(share=True)