RishubhPar commited on
Commit
7d5d1e3
·
verified ·
1 Parent(s): f7a4a99

removed decorator and the warmup.

Browse files
Files changed (1) hide show
  1. app.py +1 -7
app.py CHANGED
@@ -520,13 +520,7 @@ def process_user_upload(uploaded_image, user_prompt, n_edits_val):
520
  return processed_image, generated_list, first_result, slider_update
521
 
522
 
523
- @spaces.GPU
524
- def gpu_warmup():
525
- return load_pipeline_single_gpu()
526
-
527
- with gr.Blocks() as demo:
528
- # warming up the demo for the first run
529
- demo.load(gpu_warmup)
530
  gr.Markdown("# Kontinuous Kontext - Continuous Strength Control for Instruction-based Image Editing")
531
 
532
  # Add description section
 
520
  return processed_image, generated_list, first_result, slider_update
521
 
522
 
523
+ with gr.Blocks() as demo:
 
 
 
 
 
 
524
  gr.Markdown("# Kontinuous Kontext - Continuous Strength Control for Instruction-based Image Editing")
525
 
526
  # Add description section