randeom commited on
Commit
901923c
·
verified ·
1 Parent(s): 91d23a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
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=7.5)
90
  with gr.Column(scale=3):
91
- gr.HTML("<h1><center>Logo Prompt 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 Image")
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 Prompt Generator
105
 
106
  **Github**: [https://github.com/pacnimo/gpt-prompt-generator](https://github.com/pacnimo/)
107
 
108
- **Description**: Logo Prompt Generator is Free and Easy to Use. Create a GPT Prompt Based on the Logo Request. 1 Click Prompt Generator.
109
 
110
  **Footer**: © 2024 by [pacnimo](https://github.com/pacnimo/). All rights reserved.
111
- """) # Meta, project description, and footer added here
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)