orronai commited on
Commit
a96a4e2
·
1 Parent(s): db2546f

feat: add paper ref

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -83,8 +83,8 @@ def get_duration(
83
  src_prompt_val: str, tar_prompt_val: str,
84
  src_guidance_scale_val: float, tar_guidance_scale_val: float,
85
  ) -> float:
86
- step_duration = 0.6 if model_type_val == 'FLUX' else 0.2
87
- return (n_max_val * (flowopt_iterations_val + 2) * step_duration) + 25
88
 
89
  @spaces.GPU(duration=get_duration)
90
  def FlowOpt_run(
@@ -146,7 +146,7 @@ def FlowOpt_run(
146
  intro = """
147
  <h1 style="font-weight: 1000; text-align: center; margin: 0px;">FlowOpt: Fast Optimization Through Whole Flow Processes for Training-Free Editing</h1>
148
  <h3 style="margin-bottom: 10px; text-align: center;">
149
- <a href="">[Paper]</a>&nbsp;|&nbsp;
150
  <a href="https://orronai.github.io/FlowOpt/">[Project Page]</a>&nbsp;|&nbsp;
151
  <a href="https://github.com/orronai/FlowOpt">[Code]</a>
152
  </h3>
 
83
  src_prompt_val: str, tar_prompt_val: str,
84
  src_guidance_scale_val: float, tar_guidance_scale_val: float,
85
  ) -> float:
86
+ step_duration = 0.5 if model_type_val == 'FLUX' else 0.15
87
+ return (n_max_val * (flowopt_iterations_val + 2) * step_duration) + 30
88
 
89
  @spaces.GPU(duration=get_duration)
90
  def FlowOpt_run(
 
146
  intro = """
147
  <h1 style="font-weight: 1000; text-align: center; margin: 0px;">FlowOpt: Fast Optimization Through Whole Flow Processes for Training-Free Editing</h1>
148
  <h3 style="margin-bottom: 10px; text-align: center;">
149
+ <a href="https://arxiv.org/abs/2510.22010">[Paper]</a>&nbsp;|&nbsp;
150
  <a href="https://orronai.github.io/FlowOpt/">[Project Page]</a>&nbsp;|&nbsp;
151
  <a href="https://github.com/orronai/FlowOpt">[Code]</a>
152
  </h3>