Update app.py
Browse files
app.py
CHANGED
@@ -211,6 +211,6 @@ css = """
|
|
211 |
"""
|
212 |
imageHander = gr.Interface( fn = image_inference, inputs = gr.Image(type="numpy", sources = 'upload'), outputs = gr.JSON(elem_classes = 'outputJSON'), css = css )
|
213 |
videoHander = gr.Interface( fn = video_inference, inputs = gr.Video(sources = 'upload', max_length = 30, include_audio = False), outputs = 'json' )
|
214 |
-
demo = gr.TabbedInterface( [imageHander, videoHander] )
|
215 |
|
216 |
demo.launch()
|
|
|
211 |
"""
|
212 |
imageHander = gr.Interface( fn = image_inference, inputs = gr.Image(type="numpy", sources = 'upload'), outputs = gr.JSON(elem_classes = 'outputJSON'), css = css )
|
213 |
videoHander = gr.Interface( fn = video_inference, inputs = gr.Video(sources = 'upload', max_length = 30, include_audio = False), outputs = 'json' )
|
214 |
+
demo = gr.TabbedInterface( [imageHander, videoHander], tab_names = [ 'Image-to-Features', 'Video-to-Features' ], title = 'Facial Feature Extraction' )
|
215 |
|
216 |
demo.launch()
|