Spaces:
Running
Running
Sebastiankay
commited on
Commit
·
f64c1d6
1
Parent(s):
7a9fbe6
8. Sept. 2024, 06:50
Browse files- _res/_custom.css +1 -0
- app.py +1 -1
_res/_custom.css
CHANGED
@@ -116,6 +116,7 @@ div.tabs div.tabitem {
|
|
116 |
.prompt-input textarea {
|
117 |
font-size: 1.05rem;
|
118 |
color: var(--neutral-300);
|
|
|
119 |
}
|
120 |
|
121 |
.ratio_buttons_wrapper {
|
|
|
116 |
.prompt-input textarea {
|
117 |
font-size: 1.05rem;
|
118 |
color: var(--neutral-300);
|
119 |
+
resize: none;
|
120 |
}
|
121 |
|
122 |
.ratio_buttons_wrapper {
|
app.py
CHANGED
@@ -165,7 +165,7 @@ with gr.Blocks(theme=theme, head=custom_head, css=custom_css, js=custom_js, titl
|
|
165 |
with gr.Column(min_width=420, scale=1):
|
166 |
with gr.Row():
|
167 |
placeholder_text = "[???] Generiert dir einen zufälligen Prompt.\n[STERN] optimiert deinen eignen Prompt.\n[RUN] generiert dein Bild."
|
168 |
-
text_prompt = gr.Textbox(label="Prompt", show_label=False, lines=12, max_lines=18, placeholder=placeholder_text, elem_classes="prompt-input", autofocus=True)
|
169 |
with gr.Row():
|
170 |
random_prompt_button = gr.Button("", variant="secondary", elem_id="random_prompt_btn", elem_classes="random-prompt-btn", icon="_res/assets/star_light_48.png")
|
171 |
enhance_prompt_button = gr.Button("", variant="secondary", elem_id="enhance_prompt_btn", elem_classes="enhance-prompt-btn", icon="_res/assets/star_light_48.png")
|
|
|
165 |
with gr.Column(min_width=420, scale=1):
|
166 |
with gr.Row():
|
167 |
placeholder_text = "[???] Generiert dir einen zufälligen Prompt.\n[STERN] optimiert deinen eignen Prompt.\n[RUN] generiert dein Bild."
|
168 |
+
text_prompt = gr.Textbox(label="Prompt", show_label=False, lines=12, max_lines=18, placeholder=placeholder_text, elem_id="prompt_input", elem_classes="prompt-input", autofocus=True)
|
169 |
with gr.Row():
|
170 |
random_prompt_button = gr.Button("", variant="secondary", elem_id="random_prompt_btn", elem_classes="random-prompt-btn", icon="_res/assets/star_light_48.png")
|
171 |
enhance_prompt_button = gr.Button("", variant="secondary", elem_id="enhance_prompt_btn", elem_classes="enhance-prompt-btn", icon="_res/assets/star_light_48.png")
|