Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -144,7 +144,9 @@ def main():
|
|
| 144 |
|
| 145 |
with gr.Row():
|
| 146 |
# Corrected 2D View Output
|
| 147 |
-
|
|
|
|
|
|
|
| 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,7 +177,6 @@ def main():
|
|
| 175 |
)
|
| 176 |
return app
|
| 177 |
|
| 178 |
-
|
| 179 |
if __name__ == "__main__":
|
| 180 |
app = main()
|
| 181 |
try:
|
|
|
|
| 144 |
|
| 145 |
with gr.Row():
|
| 146 |
# Corrected 2D View Output
|
| 147 |
+
|
| 148 |
+
two_d_output = gr.Image(label="2D View", type="filepath") # Use 'filepath' to display image from a file path
|
| 149 |
+
|
| 150 |
three_d_output = gr.Label(label="3D View Status") # 3D as Label
|
| 151 |
generate_views_btn = gr.Button("Generate 2D & 3D Views")
|
| 152 |
|
|
|
|
| 177 |
)
|
| 178 |
return app
|
| 179 |
|
|
|
|
| 180 |
if __name__ == "__main__":
|
| 181 |
app = main()
|
| 182 |
try:
|