hagenw commited on
Commit
74582c4
·
1 Parent(s): 8e2ced3

Try to fix rendering of interface

Browse files
Files changed (1) hide show
  1. app.py +1 -5
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
- with demo:
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()