retwpay commited on
Commit
c2f0509
·
verified ·
1 Parent(s): 219e674

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -114,7 +114,7 @@ with gr.Blocks(css=css) as demo:
114
  prompt = gr.Text(
115
  label="Prompt",
116
  show_label=False,
117
- max_lines=3, # 変更: Increased from 1 to 3 for longer prompts
118
  placeholder="Enter your prompt (long prompts are automatically supported)", # 変更: Updated placeholder
119
  container=False,
120
  )
@@ -127,7 +127,7 @@ with gr.Blocks(css=css) as demo:
127
 
128
  negative_prompt = gr.Text(
129
  label="Negative prompt",
130
- max_lines=2, # 変更: Increased from 1 to 2
131
  placeholder="Enter a negative prompt",
132
  value="nsfw, (low quality, worst quality:1.2), very displeasing, 3d, watermark, signature, ugly, poorly drawn"
133
  )
 
114
  prompt = gr.Text(
115
  label="Prompt",
116
  show_label=False,
117
+ max_lines=1,
118
  placeholder="Enter your prompt (long prompts are automatically supported)", # 変更: Updated placeholder
119
  container=False,
120
  )
 
127
 
128
  negative_prompt = gr.Text(
129
  label="Negative prompt",
130
+ max_lines=1,
131
  placeholder="Enter a negative prompt",
132
  value="nsfw, (low quality, worst quality:1.2), very displeasing, 3d, watermark, signature, ugly, poorly drawn"
133
  )