Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -315,7 +315,9 @@ with gr.Blocks(css=css) as demo:
|
|
| 315 |
with gr.Column():
|
| 316 |
image_in = gr.Image(label="Upload Image", type="numpy", height=512)
|
| 317 |
run_btn = gr.Button("Reconstruct Face", variant="primary")
|
| 318 |
-
|
|
|
|
|
|
|
| 319 |
examples = gr.Examples(
|
| 320 |
examples=[
|
| 321 |
["example_images/jennifer_lawrence.png"],
|
|
@@ -327,8 +329,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 327 |
fn=generate_results_and_mesh,
|
| 328 |
cache_examples=True
|
| 329 |
)
|
| 330 |
-
|
| 331 |
-
|
| 332 |
with gr.Column():
|
| 333 |
mesh_file = gr.Model3D(label="3D Model Preview", height=512)
|
| 334 |
|
|
|
|
| 315 |
with gr.Column():
|
| 316 |
image_in = gr.Image(label="Upload Image", type="numpy", height=512)
|
| 317 |
run_btn = gr.Button("Reconstruct Face", variant="primary")
|
| 318 |
+
|
| 319 |
+
status = gr.Textbox(label="Status", lines=6, visible=False, interactive=True, value="Upload an image to start.")
|
| 320 |
+
|
| 321 |
examples = gr.Examples(
|
| 322 |
examples=[
|
| 323 |
["example_images/jennifer_lawrence.png"],
|
|
|
|
| 329 |
fn=generate_results_and_mesh,
|
| 330 |
cache_examples=True
|
| 331 |
)
|
| 332 |
+
|
|
|
|
| 333 |
with gr.Column():
|
| 334 |
mesh_file = gr.Model3D(label="3D Model Preview", height=512)
|
| 335 |
|