ginipick commited on
Commit
479e0d8
ยท
verified ยท
1 Parent(s): 1d539fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -8
app.py CHANGED
@@ -243,7 +243,6 @@ with gr.Blocks(css=css, title="Time Stream") as demo:
243
  info="Maximum strength for each direction (above 2.5 may be unstable)"
244
  )
245
  submit = gr.Button(english_labels["Generate directions"], size="lg", variant="primary")
246
- # Advanced Options Panel
247
  with gr.Accordion(label=english_labels["Advanced options"], open=False, elem_classes="advanced-panel"):
248
  with gr.Row():
249
  with gr.Column(scale=1):
@@ -294,7 +293,6 @@ with gr.Blocks(css=css, title="Time Stream") as demo:
294
  interactive=True,
295
  randomize=True
296
  )
297
-
298
  # Right Column - Output
299
  with gr.Column(scale=8):
300
  with gr.Group(elem_classes="main-panel"):
@@ -316,14 +314,13 @@ with gr.Blocks(css=css, title="Time Stream") as demo:
316
  step=1,
317
  label=english_labels["From 1st to 2nd direction"]
318
  )
319
-
320
- # Examples Section with select_on_click enabled (fn ์ œ๊ฑฐํ•˜์—ฌ ๋‹จ์ˆœ ์‚ฝ์ž…๋งŒ ์ˆ˜ํ–‰)
321
  gr.Examples(
322
  examples=examples,
323
- inputs=[prompt, concept_1, concept_2, x],
324
- select_on_click=True
325
  )
326
-
327
  # Event Handlers
328
  submit.click(
329
  fn=generate,
@@ -342,7 +339,7 @@ with gr.Blocks(css=css, title="Time Stream") as demo:
342
  seed
343
  ]
344
  )
345
-
346
  iterations.change(fn=reset_recalc_directions, outputs=[recalc_directions])
347
  seed.change(fn=reset_recalc_directions, outputs=[recalc_directions])
348
  post_generation_slider.change(
 
243
  info="Maximum strength for each direction (above 2.5 may be unstable)"
244
  )
245
  submit = gr.Button(english_labels["Generate directions"], size="lg", variant="primary")
 
246
  with gr.Accordion(label=english_labels["Advanced options"], open=False, elem_classes="advanced-panel"):
247
  with gr.Row():
248
  with gr.Column(scale=1):
 
293
  interactive=True,
294
  randomize=True
295
  )
 
296
  # Right Column - Output
297
  with gr.Column(scale=8):
298
  with gr.Group(elem_classes="main-panel"):
 
314
  step=1,
315
  label=english_labels["From 1st to 2nd direction"]
316
  )
317
+
318
+ # Examples: ์˜ˆ์ œ ํด๋ฆญ ์‹œ ์ž…๋ ฅ๋ž€์— ๊ฐ’์ด ๋ฐ”๋กœ ์‚ฝ์ž…๋จ
319
  gr.Examples(
320
  examples=examples,
321
+ inputs=[prompt, concept_1, concept_2, x]
 
322
  )
323
+
324
  # Event Handlers
325
  submit.click(
326
  fn=generate,
 
339
  seed
340
  ]
341
  )
342
+
343
  iterations.change(fn=reset_recalc_directions, outputs=[recalc_directions])
344
  seed.change(fn=reset_recalc_directions, outputs=[recalc_directions])
345
  post_generation_slider.change(