anzorq commited on
Commit
40a8b65
1 Parent(s): ccf6ac5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -1
app.py CHANGED
@@ -39,7 +39,7 @@ with gr.Blocks() as demo:
39
  with gr.Row():
40
 
41
  with gr.Column():
42
- prompt = gr.Textbox(label="prompt (append ' , arcane style' as shown in examples)")
43
  guidance = gr.Slider(label="guidance scale", value=7.5, maximum=15)
44
  steps = gr.Slider(label="steps", value=50, maximum=100, minimum=2)
45
  run = gr.Button(value="Run")
@@ -55,6 +55,16 @@ with gr.Blocks() as demo:
55
  ["Aloy from Horizon: Zero Dawn, half body portrait, videogame cover art, highly detailed, digital painting, artstation, concept art, smooth, detailed armor, sharp focus, beautiful face, illustration, art by Artgerm and greg rutkowski and alphonse mucha, arcane style", 7, 50],
56
  ["fantasy portrait painting, digital art, arcane style", 4, 30],
57
  ], [prompt, guidance, steps], gallery, inference, cache_examples=torch.cuda.is_available())
 
 
 
 
 
 
 
 
 
 
58
 
59
  demo.queue()
60
  demo.launch()
 
39
  with gr.Row():
40
 
41
  with gr.Column():
42
+ prompt = gr.Textbox(label="prompt", placeholder="(append ' , arcane style' as shown in the examples)")
43
  guidance = gr.Slider(label="guidance scale", value=7.5, maximum=15)
44
  steps = gr.Slider(label="steps", value=50, maximum=100, minimum=2)
45
  run = gr.Button(value="Run")
 
55
  ["Aloy from Horizon: Zero Dawn, half body portrait, videogame cover art, highly detailed, digital painting, artstation, concept art, smooth, detailed armor, sharp focus, beautiful face, illustration, art by Artgerm and greg rutkowski and alphonse mucha, arcane style", 7, 50],
56
  ["fantasy portrait painting, digital art, arcane style", 4, 30],
57
  ], [prompt, guidance, steps], gallery, inference, cache_examples=torch.cuda.is_available())
58
+ gr.HTML('''
59
+ <div>
60
+ <p>Model by <a href="https://huggingface.co/nitrosocke" style="text-decoration: underline;" target="_blank">@nitrosocke</a> ❤️</p>
61
+ </div>
62
+ <div>Space by
63
+ <a href="https://twitter.com/hahahahohohe">
64
+ <img alt="Twitter Follow" src="https://img.shields.io/twitter/follow/hahahahohohe?label=%40anzorq&style=social">
65
+ </a>
66
+ </div>
67
+ ''')
68
 
69
  demo.queue()
70
  demo.launch()