phillipinseoul commited on
Commit
86fc5bd
1 Parent(s): 4ecf6e4

add gpu time

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -48,6 +48,7 @@ if __name__=="__main__":
48
  description_text = '''
49
  This demo features text-guided panorama generation from our work <a href="https://arxiv.org/abs/2306.05178">SyncDiffusion: Coherent Montage via Synchronized Joint Diffusions, NeurIPS 2023</a>.
50
  Please refer to our <a href="https://syncdiffusion.github.io/">project page</a> for details.
 
51
  '''
52
 
53
  # create UI
@@ -87,12 +88,12 @@ if __name__=="__main__":
87
  gr.Textbox(label="Prompt", type="text", value="a cinematic view of a castle in the sunset")
88
 
89
  with gr.Row():
90
- gr.Image(Image.open(join("assets", "result_landscape_seed_2.png")), label="Sample output 2")
91
  with gr.Row():
92
  gr.Textbox(label="Prompt", type="text", value="natural landscape in anime style illustration")
93
 
94
  with gr.Row():
95
- gr.Image(Image.open(join("assets", "result_northern_lights_seed_6.png")), label="Sample output 3")
96
  with gr.Row():
97
  gr.Textbox(label="Prompt", type="text", value="a photo of a lake under the northern lights")
98
 
 
48
  description_text = '''
49
  This demo features text-guided panorama generation from our work <a href="https://arxiv.org/abs/2306.05178">SyncDiffusion: Coherent Montage via Synchronized Joint Diffusions, NeurIPS 2023</a>.
50
  Please refer to our <a href="https://syncdiffusion.github.io/">project page</a> for details.
51
+ (Note: Generation takes about 100 seconds for the default setting below, with the current A10G GPU.)
52
  '''
53
 
54
  # create UI
 
88
  gr.Textbox(label="Prompt", type="text", value="a cinematic view of a castle in the sunset")
89
 
90
  with gr.Row():
91
+ gr.Image(Image.open(join("assets", "result_natural_seed_2.png")), label="Sample output 2")
92
  with gr.Row():
93
  gr.Textbox(label="Prompt", type="text", value="natural landscape in anime style illustration")
94
 
95
  with gr.Row():
96
+ gr.Image(Image.open(join("assets", "result_northern_seed_6.png")), label="Sample output 3")
97
  with gr.Row():
98
  gr.Textbox(label="Prompt", type="text", value="a photo of a lake under the northern lights")
99