Spaces:
Running
Running
Try to fix rendering of interface
Browse files
app.py
CHANGED
|
@@ -110,8 +110,6 @@ def recognize(file):
|
|
| 110 |
return age_gender
|
| 111 |
|
| 112 |
|
| 113 |
-
demo = gr.Blocks()
|
| 114 |
-
|
| 115 |
outputs = gr.Label()
|
| 116 |
title = "audEERING age and gender recognition"
|
| 117 |
description = (
|
|
@@ -138,7 +136,5 @@ file = gr.Interface(
|
|
| 138 |
allow_flagging=allow_flagging,
|
| 139 |
)
|
| 140 |
|
| 141 |
-
|
| 142 |
-
gr.TabbedInterface([microphone, file], ["Microphone", "Audio file"])
|
| 143 |
-
|
| 144 |
demo.queue().launch()
|
|
|
|
| 110 |
return age_gender
|
| 111 |
|
| 112 |
|
|
|
|
|
|
|
| 113 |
outputs = gr.Label()
|
| 114 |
title = "audEERING age and gender recognition"
|
| 115 |
description = (
|
|
|
|
| 136 |
allow_flagging=allow_flagging,
|
| 137 |
)
|
| 138 |
|
| 139 |
+
demo = gr.TabbedInterface([microphone, file], ["Microphone", "Audio file"])
|
|
|
|
|
|
|
| 140 |
demo.queue().launch()
|