Ritesh Khanna commited on
Commit
95f4561
1 Parent(s): 188ee80

Showcase Link

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -98,7 +98,7 @@ if __name__ == "__main__":
98
  base_prompt = gr.Textbox(lines=1, label="Base Prompt (Shorter is Better)", placeholder="An astronaut in space.", info="Enter a very simple prompt that will be fungineered into something exciting!")
99
  submit = gr.Button(label="Fungineer",variant="primary")
100
 
101
- extra = gr.Checkbox(value=True, label="Extra Fungineer Imagination", info="If checked, the model will be allowed to go wild with its imagination.")
102
 
103
  with gr.Accordion("Advanced Generation Settings", open=False):
104
  top_k = gr.Slider( minimum=10, maximum=1000, value=100, label="Top K", info="Top K sampling")
@@ -110,8 +110,6 @@ if __name__ == "__main__":
110
  insp = gr.Checkbox(value=False, label="Inpsiration", info="Include inspirational photographers that are known for this type of photography. Sometimes random people will appear here, needs more training.")
111
  neg = gr.Checkbox(value=False, label="Negative Prompt", info="Include a negative prompt, more often used in Stable Diffusion. If you're a Stable Diffusion user, chances are you already have a better negative prompt you like to use.")
112
 
113
-
114
-
115
  with gr.Column():
116
  outputs = [
117
  gr.Textbox(lines=2, label="Fungineered Text 1"),
@@ -120,6 +118,8 @@ if __name__ == "__main__":
120
  gr.Textbox(lines=2, label="Fungineered Text 4"),
121
  ]
122
 
 
 
123
  for textbox in outputs:
124
  textbox.style(show_copy_button=True)
125
 
 
98
  base_prompt = gr.Textbox(lines=1, label="Base Prompt (Shorter is Better)", placeholder="An astronaut in space.", info="Enter a very simple prompt that will be fungineered into something exciting!")
99
  submit = gr.Button(label="Fungineer",variant="primary")
100
 
101
+ extra = gr.Checkbox(value=False, label="Wild Imagination", info="If checked, the model will be allowed to go wild with its imagination.")
102
 
103
  with gr.Accordion("Advanced Generation Settings", open=False):
104
  top_k = gr.Slider( minimum=10, maximum=1000, value=100, label="Top K", info="Top K sampling")
 
110
  insp = gr.Checkbox(value=False, label="Inpsiration", info="Include inspirational photographers that are known for this type of photography. Sometimes random people will appear here, needs more training.")
111
  neg = gr.Checkbox(value=False, label="Negative Prompt", info="Include a negative prompt, more often used in Stable Diffusion. If you're a Stable Diffusion user, chances are you already have a better negative prompt you like to use.")
112
 
 
 
113
  with gr.Column():
114
  outputs = [
115
  gr.Textbox(lines=2, label="Fungineered Text 1"),
 
118
  gr.Textbox(lines=2, label="Fungineered Text 4"),
119
  ]
120
 
121
+ gr.Markdown("### Got something good? [Share it](https://huggingface.co/spaces/treadon/prompt-fungineer-355M/discussions/1) with the community in the showcase!")
122
+
123
  for textbox in outputs:
124
  textbox.style(show_copy_button=True)
125