Update app.py
Browse files
app.py
CHANGED
@@ -284,11 +284,6 @@ if __name__ == "__main__":
|
|
284 |
for param in model.parameters():
|
285 |
param.requires_grad = False
|
286 |
|
287 |
-
theme = gr.themes.Ocean()
|
288 |
-
theme.set(
|
289 |
-
checkbox_label_background_fill_selected="*button_primary_background_fill",
|
290 |
-
checkbox_label_text_color_selected="*button_primary_text_color",
|
291 |
-
)
|
292 |
css = """
|
293 |
#col-container {
|
294 |
margin: 0 auto;
|
@@ -323,10 +318,14 @@ if __name__ == "__main__":
|
|
323 |
|
324 |
with gr.Row():
|
325 |
with gr.Column():
|
326 |
-
input_video = gr.Video(label="Upload Video", sources=["upload"], interactive=True, height=512)
|
327 |
|
|
|
|
|
|
|
|
|
|
|
328 |
submit_btn = gr.Button(
|
329 |
-
"
|
330 |
)
|
331 |
|
332 |
image_gallery = gr.Gallery(
|
|
|
284 |
for param in model.parameters():
|
285 |
param.requires_grad = False
|
286 |
|
|
|
|
|
|
|
|
|
|
|
287 |
css = """
|
288 |
#col-container {
|
289 |
margin: 0 auto;
|
|
|
318 |
|
319 |
with gr.Row():
|
320 |
with gr.Column():
|
|
|
321 |
|
322 |
+
with gr.Tab("Video"):
|
323 |
+
input_video = gr.Video(label="Upload Video", sources=["upload"], interactive=True, height=512)
|
324 |
+
with gr.Tab("Images"):
|
325 |
+
input_images = gr.File(label="Upload Files", height=512)
|
326 |
+
|
327 |
submit_btn = gr.Button(
|
328 |
+
"Generate Gaussian Splat", scale=1, variant="primary"
|
329 |
)
|
330 |
|
331 |
image_gallery = gr.Gallery(
|