Shuang59 commited on
Commit
b52aa78
β€’
1 Parent(s): 20e2c4a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -355,6 +355,9 @@ with gr.Blocks() as demo:
355
  gr.Markdown(
356
  """<p>( <b>Stable Diffusion Note</b>: Stable Diffusion has a filter enabled, so it sometimes generates all black
357
  results for possibly inappropriate images.)</p>""")
 
 
 
358
  with gr.Row():
359
  with gr.Column():
360
  gr.Markdown(
@@ -362,7 +365,7 @@ with gr.Blocks() as demo:
362
  generation</h4>""")
363
  with gr.Row():
364
  text_input = gr.Textbox(value="mystical trees | A dark magical pond | dark", label="Text to image prompt")
365
- weights_input = gr.Textbox(value="7.5 | 7.5 | 7.5", label="Weights (Absolute values of weights should be > 1, negative weights indicate negation)")
366
  with gr.Row():
367
  seed_input = gr.Number(0, label="Seed")
368
  steps_input = gr.Slider(10, 200, value=50, label="Steps")
@@ -383,7 +386,7 @@ with gr.Blocks() as demo:
383
  with gr.Row():
384
  asset_input = gr.Textbox(value="a cake | a house", label="Text to 3D prompt")
385
  with gr.Row():
386
- asset_weights = gr.Textbox(value="7.5 | 7.5", label="Weights (Absolute values of weights should be > 1, negative weights indicate negation)")
387
  with gr.Row():
388
  asset_model = gr.Radio(['Point-E'], type="value", label='Text to 3D model', value='Point-E')
389
  # asset_output = gr.Image(label='GIF')
 
355
  gr.Markdown(
356
  """<p>( <b>Stable Diffusion Note</b>: Stable Diffusion has a filter enabled, so it sometimes generates all black
357
  results for possibly inappropriate images.)</p>""")
358
+ gr.Markdown(
359
+ """<p>( <b>Note</b>: Absolute values of weights should be > 1, negative weights indicate negation.</p>"""
360
+ )
361
  with gr.Row():
362
  with gr.Column():
363
  gr.Markdown(
 
365
  generation</h4>""")
366
  with gr.Row():
367
  text_input = gr.Textbox(value="mystical trees | A dark magical pond | dark", label="Text to image prompt")
368
+ weights_input = gr.Textbox(value="7.5 | 7.5 | 7.5", label="Weights")
369
  with gr.Row():
370
  seed_input = gr.Number(0, label="Seed")
371
  steps_input = gr.Slider(10, 200, value=50, label="Steps")
 
386
  with gr.Row():
387
  asset_input = gr.Textbox(value="a cake | a house", label="Text to 3D prompt")
388
  with gr.Row():
389
+ asset_weights = gr.Textbox(value="7.5 | 7.5", label="Weights")
390
  with gr.Row():
391
  asset_model = gr.Radio(['Point-E'], type="value", label='Text to 3D model', value='Point-E')
392
  # asset_output = gr.Image(label='GIF')