Spaces:
Sleeping
Sleeping
Updated description, fixed manual seed not being hidden when using random seed
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ top_k = gr.Slider(value=1, minimum=1, maximum=100, step=1, interactive=True, lab
|
|
65 |
|
66 |
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")
|
67 |
|
68 |
-
manual_seed = gr.Number(value=42, interactive=True, label="Manual Seed", info="A starting point to initiate the generation process", visible={
|
69 |
|
70 |
|
71 |
examples = [
|
@@ -87,7 +87,7 @@ gr.Interface(
|
|
87 |
inputs=[prompt, system_prompt, max_new_tokens, repetition_penalty, temperature, top_p, top_k, use_random_seed, manual_seed],
|
88 |
outputs=gr.Textbox(label="Better Prompt", interactive=True),
|
89 |
title="SuperPrompt-v1",
|
90 |
-
description="Make your prompts more detailed
|
91 |
examples=examples,
|
92 |
live=True,
|
93 |
concurrency_limit=20,
|
|
|
65 |
|
66 |
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")
|
67 |
|
68 |
+
manual_seed = gr.Number(value=42, interactive=True, label="Manual Seed", info="A starting point to initiate the generation process", visible={False if use_random_seed else True})
|
69 |
|
70 |
|
71 |
examples = [
|
|
|
87 |
inputs=[prompt, system_prompt, max_new_tokens, repetition_penalty, temperature, top_p, top_k, use_random_seed, manual_seed],
|
88 |
outputs=gr.Textbox(label="Better Prompt", interactive=True),
|
89 |
title="SuperPrompt-v1",
|
90 |
+
description="Make your prompts more detailed!\nModel used: https://huggingface.co/roborovski/superprompt-v1\nHugging Face Space made by [Nick088}(https://linktr.ee/Nick088)",
|
91 |
examples=examples,
|
92 |
live=True,
|
93 |
concurrency_limit=20,
|