hysts HF staff commited on
Commit
277c1e4
1 Parent(s): 09ca579
Files changed (2) hide show
  1. app_generated_image.py +4 -2
  2. app_real_image.py +4 -2
app_generated_image.py CHANGED
@@ -112,7 +112,8 @@ def run_pnp_command(
112
  def create_prompt_demo() -> gr.Blocks:
113
  with gr.Blocks() as demo:
114
  with gr.Box():
115
- gr.Markdown('Step 1')
 
116
  with gr.Row():
117
  with gr.Column():
118
  source_prompt = gr.Text(label='Source prompt')
@@ -140,7 +141,8 @@ def create_prompt_demo() -> gr.Blocks:
140
  type='filepath')
141
  exp_name = gr.Variable()
142
  with gr.Box():
143
- gr.Markdown('Step 2')
 
144
  with gr.Row():
145
  with gr.Column():
146
  translation_prompt = gr.Text(
 
112
  def create_prompt_demo() -> gr.Blocks:
113
  with gr.Blocks() as demo:
114
  with gr.Box():
115
+ gr.Markdown(
116
+ 'Step 1 (This step will take about 1.5 minutes on A10G.)')
117
  with gr.Row():
118
  with gr.Column():
119
  source_prompt = gr.Text(label='Source prompt')
 
141
  type='filepath')
142
  exp_name = gr.Variable()
143
  with gr.Box():
144
+ gr.Markdown(
145
+ 'Step 2 (This step will take about 1.5 minutes on A10G.)')
146
  with gr.Row():
147
  with gr.Column():
148
  translation_prompt = gr.Text(
app_real_image.py CHANGED
@@ -92,7 +92,8 @@ def run_pnp_command(
92
  def create_real_image_demo():
93
  with gr.Blocks() as demo:
94
  with gr.Box():
95
- gr.Markdown('Step 1')
 
96
  with gr.Row():
97
  with gr.Column():
98
  image = gr.Image(label='Input image', type='filepath')
@@ -103,7 +104,8 @@ def create_real_image_demo():
103
  type='filepath')
104
  exp_name = gr.Variable()
105
  with gr.Box():
106
- gr.Markdown('Step 2')
 
107
  with gr.Row():
108
  with gr.Column():
109
  translation_prompt = gr.Text(
 
92
  def create_real_image_demo():
93
  with gr.Blocks() as demo:
94
  with gr.Box():
95
+ gr.Markdown(
96
+ 'Step 1 (This step will take about 5 minutes on A10G.)')
97
  with gr.Row():
98
  with gr.Column():
99
  image = gr.Image(label='Input image', type='filepath')
 
104
  type='filepath')
105
  exp_name = gr.Variable()
106
  with gr.Box():
107
+ gr.Markdown(
108
+ 'Step 2 (This step will take about 1.5 minutes on A10G.)')
109
  with gr.Row():
110
  with gr.Column():
111
  translation_prompt = gr.Text(