gokaygokay commited on
Commit
63c8d33
1 Parent(s): a2b0ded

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -3
app.py CHANGED
@@ -18,13 +18,22 @@ def text_to_pano(prompt, upscale):
18
  output = txt2panoimg(input_data)
19
  return output
20
 
21
- with gr.Blocks(theme='bethecloud/storj_theme') as demo:
22
- gr.Markdown("# 360° Panorama Image Generation")
23
 
 
 
 
 
 
 
 
 
 
 
 
24
  with gr.Row():
25
  with gr.Column():
26
  t2p_input = gr.Textbox(label="Enter your prompt", lines=3)
27
- t2p_upscale = gr.Checkbox(label="Upscale (requires >16GB GPU)")
28
  t2p_generate = gr.Button("Generate Panorama")
29
  with gr.Column():
30
  t2p_output = Pannellum(label="Generated 360° Panorama")
 
18
  output = txt2panoimg(input_data)
19
  return output
20
 
 
 
21
 
22
+
23
+ title = """<h1 align="center">SD-T2I-360PanoImage</h1>
24
+ <p align="center">360° Panorama Image Generation</p>
25
+ <p><center>
26
+ <a href="https://github.com/ArcherFMY/SD-T2I-360PanoImage/" target="_blank">[Github]</a>
27
+ <a href="https://huggingface.co/archerfmy0831/sd-t2i-360panoimage" target="_blank">[Models]</a>
28
+ </center></p>
29
+ """
30
+
31
+ with gr.Blocks(theme='bethecloud/storj_theme') as demo:
32
+ gr.HTML(title)
33
  with gr.Row():
34
  with gr.Column():
35
  t2p_input = gr.Textbox(label="Enter your prompt", lines=3)
36
+ t2p_upscale = gr.Checkbox(label="Upscale (takes about 160 seconds)")
37
  t2p_generate = gr.Button("Generate Panorama")
38
  with gr.Column():
39
  t2p_output = Pannellum(label="Generated 360° Panorama")