Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -86,12 +86,12 @@ with gr.Blocks(css=css) as app:
|
|
86 |
logo_input = gr.Textbox(label="Input your logo request", placeholder="Describe the logo you want...")
|
87 |
width = gr.Slider(label="Width", minimum=256, maximum=1536, value=1024)
|
88 |
height = gr.Slider(label="Height", minimum=256, maximum=1536, value=1024)
|
89 |
-
guidance_scale = gr.Slider(label="Guidance Scale", minimum=0.1, maximum=20, value=
|
90 |
with gr.Column(scale=3):
|
91 |
-
gr.HTML("<h1><center>Logo
|
92 |
generate_button = gr.Button("Generate")
|
93 |
prompt_output = gr.Textbox(label="Generated Prompt", interactive=False, lines=5)
|
94 |
-
image_output = gr.Image(label="Generated
|
95 |
generate_button.click(
|
96 |
fn=process_request,
|
97 |
inputs=[logo_input, width, height, guidance_scale],
|
@@ -101,13 +101,13 @@ with gr.Blocks(css=css) as app:
|
|
101 |
gr.Markdown("""
|
102 |
---
|
103 |
### Meta Information
|
104 |
-
**Project Title**: Logo
|
105 |
|
106 |
**Github**: [https://github.com/pacnimo/gpt-prompt-generator](https://github.com/pacnimo/)
|
107 |
|
108 |
-
**Description**: Logo
|
109 |
|
110 |
**Footer**: © 2024 by [pacnimo](https://github.com/pacnimo/). All rights reserved.
|
111 |
-
""")
|
112 |
|
113 |
app.launch(debug=True)
|
|
|
86 |
logo_input = gr.Textbox(label="Input your logo request", placeholder="Describe the logo you want...")
|
87 |
width = gr.Slider(label="Width", minimum=256, maximum=1536, value=1024)
|
88 |
height = gr.Slider(label="Height", minimum=256, maximum=1536, value=1024)
|
89 |
+
guidance_scale = gr.Slider(label="Guidance Scale", minimum=0.1, maximum=20, value=3)
|
90 |
with gr.Column(scale=3):
|
91 |
+
gr.HTML("<h1><center>Magical AI Logo Generator<h1><center>")
|
92 |
generate_button = gr.Button("Generate")
|
93 |
prompt_output = gr.Textbox(label="Generated Prompt", interactive=False, lines=5)
|
94 |
+
image_output = gr.Image(label="Generated Logo")
|
95 |
generate_button.click(
|
96 |
fn=process_request,
|
97 |
inputs=[logo_input, width, height, guidance_scale],
|
|
|
101 |
gr.Markdown("""
|
102 |
---
|
103 |
### Meta Information
|
104 |
+
**Project Title**:Magical AI Logo Generator
|
105 |
|
106 |
**Github**: [https://github.com/pacnimo/gpt-prompt-generator](https://github.com/pacnimo/)
|
107 |
|
108 |
+
**Description**: Magical AI Logo Generator is Free and Easy to Use. Create a GPT Prompt Based on the Logo Request. 1 Click Logo Generator.
|
109 |
|
110 |
**Footer**: © 2024 by [pacnimo](https://github.com/pacnimo/). All rights reserved.
|
111 |
+
""")
|
112 |
|
113 |
app.launch(debug=True)
|