Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ top_k = gr.Slider(value=1, minimum=1, maximum=100, step=1, interactive=True, lab
|
|
66 |
|
67 |
use_random_seed = gr.Checkbox(value=False, label="Use Random Seed", info="Check to use a random seed which is a start point for the generation process")
|
68 |
|
69 |
-
manual_seed = gr.Number(value=42, interactive=True, label="Manual Seed", info="A starting point to initiate the generation process", visible=
|
70 |
|
71 |
|
72 |
examples = [
|
@@ -88,7 +88,7 @@ gr.Interface(
|
|
88 |
inputs=[prompt, system_prompt, max_new_tokens, repetition_penalty, temperature, top_p, top_k, use_random_seed, manual_seed],
|
89 |
outputs=gr.Textbox(label="Better Prompt", interactive=True),
|
90 |
title="SuperPrompt-v1",
|
91 |
-
description="Make your prompts more detailed!<br>Model used: https://huggingface.co/roborovski/superprompt-v1<br>Hugging Face Space made by [Nick088]https://linktr.ee/Nick088)",
|
92 |
examples=examples,
|
93 |
live=True,
|
94 |
concurrency_limit=20,
|
|
|
66 |
|
67 |
use_random_seed = gr.Checkbox(value=False, label="Use Random Seed", info="Check to use a random seed which is a start point for the generation process")
|
68 |
|
69 |
+
manual_seed = gr.Number(value=42, interactive=True, label="Manual Seed", info="A starting point to initiate the generation process", visible=lambda use_random_seed: not use_random_seed)
|
70 |
|
71 |
|
72 |
examples = [
|
|
|
88 |
inputs=[prompt, system_prompt, max_new_tokens, repetition_penalty, temperature, top_p, top_k, use_random_seed, manual_seed],
|
89 |
outputs=gr.Textbox(label="Better Prompt", interactive=True),
|
90 |
title="SuperPrompt-v1",
|
91 |
+
description="Make your prompts more detailed!<br>Model used: https://huggingface.co/roborovski/superprompt-v1<br>Hugging Face Space made by [Nick088](https://linktr.ee/Nick088)",
|
92 |
examples=examples,
|
93 |
live=True,
|
94 |
concurrency_limit=20,
|