Spaces:
Running on Zero
Running on Zero
Update app.py
#658
by Gahhag - opened
app.py
CHANGED
|
@@ -23,6 +23,7 @@ MAX_IMAGE_SIZE = 1024
|
|
| 23 |
@spaces.GPU(duration=65)
|
| 24 |
def infer(
|
| 25 |
prompt,
|
|
|
|
| 26 |
negative_prompt="",
|
| 27 |
seed=42,
|
| 28 |
randomize_seed=False,
|
|
@@ -74,7 +75,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 74 |
container=False,
|
| 75 |
)
|
| 76 |
|
| 77 |
-
run_button = gr.Button("
|
| 78 |
|
| 79 |
result = gr.Image(label="Result", show_label=False)
|
| 80 |
|
|
|
|
| 23 |
@spaces.GPU(duration=65)
|
| 24 |
def infer(
|
| 25 |
prompt,
|
| 26 |
+
full_prompt = f"{prompt}, photorealistic lighting, dreamlike, subtle digital glitches"
|
| 27 |
negative_prompt="",
|
| 28 |
seed=42,
|
| 29 |
randomize_seed=False,
|
|
|
|
| 75 |
container=False,
|
| 76 |
)
|
| 77 |
|
| 78 |
+
run_button = gr.Button("Generate", scale=0, variant="primary")
|
| 79 |
|
| 80 |
result = gr.Image(label="Result", show_label=False)
|
| 81 |
|