Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -296,19 +296,19 @@ def create_interface():
|
|
296 |
api_key_ui = gr.Textbox(
|
297 |
label="Gemini API Key",
|
298 |
placeholder="Enter your Gemini API key here",
|
299 |
-
type="password",
|
300 |
# Make sure this input component is mandatory in the logic below
|
301 |
)
|
302 |
-
quote = gr.Textbox(label="Quote/Design/Idea", placeholder="e.g., Lucky To Be A Teacher", value="Rainbow with a quote \"Lucky To Be A Teacher\"")
|
303 |
-
niche = gr.Textbox(label="Niche/Holiday/Event", placeholder="e.g., St Patrick's Day", value="St Patricks Day")
|
304 |
-
target = gr.Textbox(label="Target Audience", placeholder="e.g., Teacher, Mom, Dad", value="Teacher, Teacher Mom")
|
305 |
keywords = gr.Textbox(
|
306 |
label="Target Keywords (comma-separated)",
|
307 |
placeholder="Enter keywords relevant to your design",
|
308 |
lines=5,
|
309 |
value="lucky, teacher, rainbow, st, patricks, day, t-shirt, patrick's, outfit, design, leopard, cheetah, print, shamrock, clover, perfect, men, women, teachers, celebrate, saint, patrick, special, unique, makes, great, gifts, idea, substitute, love, irish, culture, pattys, holiday, teach, shamrocks, cute, design, awesome, show, students"
|
310 |
)
|
311 |
-
submit_btn = gr.Button("Generate Amazon Listing", variant="primary")
|
312 |
|
313 |
with gr.Column(scale=2):
|
314 |
status = gr.Textbox(label="Status", value="Ready", interactive=False, lines=1)
|
|
|
296 |
api_key_ui = gr.Textbox(
|
297 |
label="Gemini API Key",
|
298 |
placeholder="Enter your Gemini API key here",
|
299 |
+
type="password", lines=1,
|
300 |
# Make sure this input component is mandatory in the logic below
|
301 |
)
|
302 |
+
quote = gr.Textbox(label="Quote/Design/Idea" , lines=1, placeholder="e.g., Lucky To Be A Teacher", value="Rainbow with a quote \"Lucky To Be A Teacher\"")
|
303 |
+
niche = gr.Textbox(label="Niche/Holiday/Event" , lines=1, placeholder="e.g., St Patrick's Day", value="St Patricks Day")
|
304 |
+
target = gr.Textbox(label="Target Audience", , lines=1 placeholder="e.g., Teacher, Mom, Dad", value="Teacher, Teacher Mom")
|
305 |
keywords = gr.Textbox(
|
306 |
label="Target Keywords (comma-separated)",
|
307 |
placeholder="Enter keywords relevant to your design",
|
308 |
lines=5,
|
309 |
value="lucky, teacher, rainbow, st, patricks, day, t-shirt, patrick's, outfit, design, leopard, cheetah, print, shamrock, clover, perfect, men, women, teachers, celebrate, saint, patrick, special, unique, makes, great, gifts, idea, substitute, love, irish, culture, pattys, holiday, teach, shamrocks, cute, design, awesome, show, students"
|
310 |
)
|
311 |
+
submit_btn = gr.Button("Generate Amazon Listing", variant="primary", lines=1)
|
312 |
|
313 |
with gr.Column(scale=2):
|
314 |
status = gr.Textbox(label="Status", value="Ready", interactive=False, lines=1)
|