Spaces:
Running
Running
css update
Browse files
app.py
CHANGED
|
@@ -146,7 +146,7 @@ img.save("example.jpg")
|
|
| 146 |
|
| 147 |
demo = gr.Interface(
|
| 148 |
fn=predict,
|
| 149 |
-
inputs=gr.Image(type="pil", sources=["upload", "webcam"], label="Face Photo"),
|
| 150 |
outputs=gr.HTML(label="Prediction", elem_id="pred-box"),
|
| 151 |
live=False,
|
| 152 |
title="Lifespan Predictor (Demo)",
|
|
|
|
| 146 |
|
| 147 |
demo = gr.Interface(
|
| 148 |
fn=predict,
|
| 149 |
+
inputs=gr.Image(height=500, type="pil", sources=["upload", "webcam"], label="Face Photo"),
|
| 150 |
outputs=gr.HTML(label="Prediction", elem_id="pred-box"),
|
| 151 |
live=False,
|
| 152 |
title="Lifespan Predictor (Demo)",
|