Update app.py
Browse filesLooks like I can't do <b> in labels?
app.py
CHANGED
@@ -48,8 +48,8 @@ def genie (prompt, negative_prompt, height, width, scale, steps, seed, upscaler)
|
|
48 |
torch.cuda.empty_cache()
|
49 |
return (image, image)
|
50 |
|
51 |
-
gr.Interface(fn=genie, inputs=[gr.Textbox(label='What you want the AI to generate
|
52 |
-
gr.Textbox(label='What you Do Not want the AI to generate.
|
53 |
gr.Slider(512, 1024, 768, step=128, label='Height'),
|
54 |
gr.Slider(512, 1024, 768, step=128, label='Width'),
|
55 |
gr.Slider(1, 15, 10, step=.25, label='Guidance Scale: How Closely the AI follows the Prompt'),
|
|
|
48 |
torch.cuda.empty_cache()
|
49 |
return (image, image)
|
50 |
|
51 |
+
gr.Interface(fn=genie, inputs=[gr.Textbox(label='What you want the AI to generate. 77 Token Limit. A Token is Any Word, Number, Symbol, or Punctuation. Everything Over 77 Will Be Truncated!'),
|
52 |
+
gr.Textbox(label='What you Do Not want the AI to generate. 77 Token Limit'),
|
53 |
gr.Slider(512, 1024, 768, step=128, label='Height'),
|
54 |
gr.Slider(512, 1024, 768, step=128, label='Width'),
|
55 |
gr.Slider(1, 15, 10, step=.25, label='Guidance Scale: How Closely the AI follows the Prompt'),
|