rsdmu commited on
Commit
f348bc5
·
verified ·
1 Parent(s): 8bb7067

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -29,8 +29,7 @@ def show_image_pair(pair_id):
29
 
30
  img1_path = os.path.join(current_dir, record['image1'])
31
  img2_path = os.path.join(current_dir, record['image2'])
32
- img1 = gr.Image(label="Image 1", elem_id="img1", width=300)
33
- img2 = gr.Image(label="Image 2", elem_id="img2", width=300)
34
 
35
 
36
  # Check if images exist
@@ -69,6 +68,8 @@ with gr.Blocks() as demo:
69
  with gr.Row():
70
  img1 = gr.Image(label="Image 1")
71
  img2 = gr.Image(label="Image 2")
 
 
72
 
73
  with gr.Row():
74
  prompt = gr.Textbox(label="Prompt", interactive=False)
 
29
 
30
  img1_path = os.path.join(current_dir, record['image1'])
31
  img2_path = os.path.join(current_dir, record['image2'])
32
+
 
33
 
34
 
35
  # Check if images exist
 
68
  with gr.Row():
69
  img1 = gr.Image(label="Image 1")
70
  img2 = gr.Image(label="Image 2")
71
+ img1 = gr.Image(label="Image 1", elem_id="img1", width=400)
72
+ img2 = gr.Image(label="Image 2", elem_id="img2", width=400)
73
 
74
  with gr.Row():
75
  prompt = gr.Textbox(label="Prompt", interactive=False)