ginipick commited on
Commit
1d539fa
·
verified ·
1 Parent(s): 41dfafa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -14
app.py CHANGED
@@ -317,22 +317,11 @@ with gr.Blocks(css=css, title="Time Stream") as demo:
317
  label=english_labels["From 1st to 2nd direction"]
318
  )
319
 
320
- # Examples Section with select_on_click enabled
321
  gr.Examples(
322
  examples=examples,
323
  inputs=[prompt, concept_1, concept_2, x],
324
- select_on_click=True,
325
- fn=generate,
326
- outputs=[
327
- x_concept_1, x_concept_2, avg_diff_x,
328
- output_video, # video output
329
- image_strip, # canvas (image strip)
330
- total_images,
331
- post_generation_image,
332
- post_generation_slider,
333
- seed
334
- ],
335
- cache_examples="lazy"
336
  )
337
 
338
  # Event Handlers
@@ -367,4 +356,3 @@ with gr.Blocks(css=css, title="Time Stream") as demo:
367
 
368
  if __name__ == "__main__":
369
  demo.launch()
370
-
 
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
 
356
 
357
  if __name__ == "__main__":
358
  demo.launch()