Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -74,8 +74,14 @@ video_interface = gr.Interface(fn=process_video,
|
|
74 |
|
75 |
# Use gr.Blocks to arrange components and launch the app
|
76 |
with gr.Blocks() as app:
|
|
|
|
|
|
|
|
|
|
|
77 |
gr.TabbedInterface([image_interface, video_interface],
|
78 |
tab_names=["Image Upload", "Video Upload"])
|
79 |
|
|
|
80 |
# Launch the interface
|
81 |
app.launch()
|
|
|
74 |
|
75 |
# Use gr.Blocks to arrange components and launch the app
|
76 |
with gr.Blocks() as app:
|
77 |
+
# Add a header using Markdown
|
78 |
+
gr.Markdown("# Lollipops and Hershey Kisses?!")
|
79 |
+
gr.Markdown("Choose whether to upload an image or a video below!")
|
80 |
+
|
81 |
+
# Add the tabbed interface
|
82 |
gr.TabbedInterface([image_interface, video_interface],
|
83 |
tab_names=["Image Upload", "Video Upload"])
|
84 |
|
85 |
+
|
86 |
# Launch the interface
|
87 |
app.launch()
|