Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -427,14 +427,16 @@ with gr.Blocks(css=".caption-label {display:none}") as demo:
|
|
427 |
)
|
428 |
with gr.Row():
|
429 |
current_model = gr.Dropdown(label="Current Model", choices=list_models, value="Pixel-Art-XL")
|
430 |
-
downsample = gr.Number(value=
|
431 |
palette = gr.Number(value=10, label="palette")
|
432 |
depth = gr.Number(value=1, label="depth")
|
433 |
-
upscale = gr.Number(value=
|
434 |
|
435 |
with gr.Column():
|
|
|
436 |
with gr.Row():
|
437 |
gr.HTML('<h2 id="output_header"> 👈 Input </h2>')
|
|
|
438 |
gr.Examples(
|
439 |
[
|
440 |
["OpenJourney-V4", "Augustus Octavian" + " served as tribune"],
|
@@ -443,7 +445,7 @@ with gr.Blocks(css=".caption-label {display:none}") as demo:
|
|
443 |
["SD-1.5", "Monk Xuanzang" + " went to the West to obtain Buddhist scriptures"],
|
444 |
["SD-1.5", "Mickey Mouse" + " attends a party"],
|
445 |
["SD-1.5", "Napoleon" + " riding a horse"],
|
446 |
-
|
447 |
["SD-1.5", "The Eastern Roman Emperor" + " defeats Mongol Invaders"],
|
448 |
],
|
449 |
inputs = [current_model, text_prompt],
|
|
|
427 |
)
|
428 |
with gr.Row():
|
429 |
current_model = gr.Dropdown(label="Current Model", choices=list_models, value="Pixel-Art-XL")
|
430 |
+
downsample = gr.Number(value=8, label="downsample by")
|
431 |
palette = gr.Number(value=10, label="palette")
|
432 |
depth = gr.Number(value=1, label="depth")
|
433 |
+
upscale = gr.Number(value=4, label="upscale")
|
434 |
|
435 |
with gr.Column():
|
436 |
+
'''
|
437 |
with gr.Row():
|
438 |
gr.HTML('<h2 id="output_header"> 👈 Input </h2>')
|
439 |
+
'''
|
440 |
gr.Examples(
|
441 |
[
|
442 |
["OpenJourney-V4", "Augustus Octavian" + " served as tribune"],
|
|
|
445 |
["SD-1.5", "Monk Xuanzang" + " went to the West to obtain Buddhist scriptures"],
|
446 |
["SD-1.5", "Mickey Mouse" + " attends a party"],
|
447 |
["SD-1.5", "Napoleon" + " riding a horse"],
|
448 |
+
["SD-1.5", "The Pope" + " is being crowned"],
|
449 |
["SD-1.5", "The Eastern Roman Emperor" + " defeats Mongol Invaders"],
|
450 |
],
|
451 |
inputs = [current_model, text_prompt],
|