clement-bonnet commited on
Commit
efdb63c
·
1 Parent(s): f6ee8cd

feat: remove interactions with images

Browse files
Files changed (1) hide show
  1. app.py +14 -2
app.py CHANGED
@@ -73,10 +73,19 @@ with gr.Blocks(
73
  interactive=False,
74
  height=300,
75
  width=450,
 
 
76
  )
77
 
78
  # Generated image output moved below reference image
79
- output_image = gr.Image(label="Generated Output", height=300, width=450)
 
 
 
 
 
 
 
80
 
81
  # Right column: Larger coordinate selector
82
  with gr.Column(scale=1):
@@ -86,8 +95,11 @@ with gr.Blocks(
86
  value="imgs/heatmap_0.png",
87
  label="Click to select (x, y) coordinates in the latent space",
88
  show_label=True,
89
- interactive=True,
 
90
  container=True,
 
 
91
  )
92
 
93
  # Handle radio button selection
 
73
  interactive=False,
74
  height=300,
75
  width=450,
76
+ show_download_button=False,
77
+ show_fullscreen_button=False,
78
  )
79
 
80
  # Generated image output moved below reference image
81
+ output_image = gr.Image(
82
+ label="Generated Output",
83
+ height=300,
84
+ width=450,
85
+ show_download_button=False,
86
+ show_fullscreen_button=False,
87
+ interactive=False,
88
+ )
89
 
90
  # Right column: Larger coordinate selector
91
  with gr.Column(scale=1):
 
95
  value="imgs/heatmap_0.png",
96
  label="Click to select (x, y) coordinates in the latent space",
97
  show_label=True,
98
+ interactive=False,
99
+ sources=[],
100
  container=True,
101
+ show_download_button=False,
102
+ show_fullscreen_button=False,
103
  )
104
 
105
  # Handle radio button selection