jithenderchoudary commited on
Commit
8e6027b
·
verified ·
1 Parent(s): cc27276

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -143,7 +143,8 @@ def main():
143
  )
144
 
145
  with gr.Row():
146
- two_d_output = gr.Image(label="2D View", type="file") # 2D as Image
 
147
  three_d_output = gr.Label(label="3D View Status") # 3D as Label
148
  generate_views_btn = gr.Button("Generate 2D & 3D Views")
149
 
@@ -174,6 +175,7 @@ def main():
174
  )
175
  return app
176
 
 
177
  if __name__ == "__main__":
178
  app = main()
179
  try:
 
143
  )
144
 
145
  with gr.Row():
146
+ # Corrected 2D View Output
147
+ two_d_output = gr.Image(label="2D View", type="filepath") # Use 'filepath' to display images from file paths
148
  three_d_output = gr.Label(label="3D View Status") # 3D as Label
149
  generate_views_btn = gr.Button("Generate 2D & 3D Views")
150
 
 
175
  )
176
  return app
177
 
178
+
179
  if __name__ == "__main__":
180
  app = main()
181
  try: