Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -79,7 +79,7 @@ def image_to_base64(image_path):
|
|
| 79 |
|
| 80 |
def flip_text(prompt, negative_prompt, steps, cfg_scale, width, height, seed):
|
| 81 |
# Modify the prompt
|
| 82 |
-
modified_prompt = f"Make a Pixar style image {prompt} 8K"
|
| 83 |
result = prodia_client.generate({
|
| 84 |
"prompt": modified_prompt,
|
| 85 |
"negative_prompt": negative_prompt,
|
|
@@ -140,7 +140,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 140 |
""")
|
| 141 |
with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
|
| 142 |
with gr.Column(scale=3):
|
| 143 |
-
prompt = gr.Textbox(label="Prompt", placeholder="Make a disney
|
| 144 |
with gr.Column(scale=1):
|
| 145 |
text_button = gr.Button("Generate", variant='primary', elem_id="gen-button")
|
| 146 |
with gr.Row():
|
|
|
|
| 79 |
|
| 80 |
def flip_text(prompt, negative_prompt, steps, cfg_scale, width, height, seed):
|
| 81 |
# Modify the prompt
|
| 82 |
+
modified_prompt = f"Make a Disney Pixar poster style image {prompt} 8K"
|
| 83 |
result = prodia_client.generate({
|
| 84 |
"prompt": modified_prompt,
|
| 85 |
"negative_prompt": negative_prompt,
|
|
|
|
| 140 |
""")
|
| 141 |
with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
|
| 142 |
with gr.Column(scale=3):
|
| 143 |
+
prompt = gr.Textbox(label="Prompt", placeholder="Make a disney Poster Style cute Cat 8k", show_label=True, lines=1, elem_id="prompt-text-input")
|
| 144 |
with gr.Column(scale=1):
|
| 145 |
text_button = gr.Button("Generate", variant='primary', elem_id="gen-button")
|
| 146 |
with gr.Row():
|