mina1004h commited on
Commit
7e6ca58
·
verified ·
1 Parent(s): 776e77e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -40,11 +40,11 @@ with gr.Blocks() as demo:
40
  with gr.Row():
41
  prompt = gr.Textbox(label="Text Prompt")
42
  with gr.Row():
43
- img0 = gr.outputs.Image(label="Generated Candidates", type="filepath")
44
- img1 = gr.outputs.Image(label="Image 1", type="filepath")
45
- img2 = gr.outputs.Image(label="Image 2", type="filepath")
46
- img3 = gr.outputs.Image(label="Image 3", type="filepath")
47
- img4 = gr.outputs.Image(label="Image 4", type="filepath")
48
  gr.Markdown("""<h1><center>Summary Caption</center></h1>""")
49
  table1 = gr.DataFrame(
50
  headers = ["Comparison", "Image 1", "Image 2", "Image 3", "Image 4"],
 
40
  with gr.Row():
41
  prompt = gr.Textbox(label="Text Prompt")
42
  with gr.Row():
43
+ img0 = gr.Image(label="Generated Candidates", type="filepath")
44
+ img1 = gr.Image(label="Image 1", type="filepath")
45
+ img2 = gr.Image(label="Image 2", type="filepath")
46
+ img3 = gr.Image(label="Image 3", type="filepath")
47
+ img4 = gr.Image(label="Image 4", type="filepath")
48
  gr.Markdown("""<h1><center>Summary Caption</center></h1>""")
49
  table1 = gr.DataFrame(
50
  headers = ["Comparison", "Image 1", "Image 2", "Image 3", "Image 4"],