Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,20 +10,20 @@ def display_results(video_url, description):
|
|
10 |
# Custom CSS
|
11 |
css = """
|
12 |
body {
|
13 |
-
background-color: #
|
14 |
color: #ecf0f1;
|
15 |
font-family: 'Arial', sans-serif;
|
16 |
}
|
17 |
h1, h2, h3, h4, h5, h6 {
|
18 |
-
color: #
|
19 |
}
|
20 |
#video_url, #description {
|
21 |
-
background-color: #
|
22 |
color: #ecf0f1;
|
23 |
border: 1px solid #ecf0f1;
|
24 |
}
|
25 |
#submit_button {
|
26 |
-
background-color: #
|
27 |
color: #ecf0f1;
|
28 |
border: 1px solid #ecf0f1;
|
29 |
}
|
@@ -31,12 +31,12 @@ h1, h2, h3, h4, h5, h6 {
|
|
31 |
background-color: #c0392b;
|
32 |
}
|
33 |
#video_output, #download_output {
|
34 |
-
border: 1px solid #
|
35 |
}
|
36 |
"""
|
37 |
|
38 |
with gr.Blocks(css=css) as demo:
|
39 |
-
gr.Markdown("#
|
40 |
video_url = gr.Textbox(label="Video URL or Filepath", elem_id="video_url")
|
41 |
description = gr.Textbox(label="Description of desired clip", elem_id="description")
|
42 |
video_output = gr.Video(label="Processed Video", elem_id="video_output")
|
|
|
10 |
# Custom CSS
|
11 |
css = """
|
12 |
body {
|
13 |
+
background-color: #eb5726;
|
14 |
color: #ecf0f1;
|
15 |
font-family: 'Arial', sans-serif;
|
16 |
}
|
17 |
h1, h2, h3, h4, h5, h6 {
|
18 |
+
color: #0b0d1a;
|
19 |
}
|
20 |
#video_url, #description {
|
21 |
+
background-color: #eb5726;
|
22 |
color: #ecf0f1;
|
23 |
border: 1px solid #ecf0f1;
|
24 |
}
|
25 |
#submit_button {
|
26 |
+
background-color: #eb5726;
|
27 |
color: #ecf0f1;
|
28 |
border: 1px solid #ecf0f1;
|
29 |
}
|
|
|
31 |
background-color: #c0392b;
|
32 |
}
|
33 |
#video_output, #download_output {
|
34 |
+
border: 1px solid #eb5726;
|
35 |
}
|
36 |
"""
|
37 |
|
38 |
with gr.Blocks(css=css) as demo:
|
39 |
+
gr.Markdown("# Sickstadium AI")
|
40 |
video_url = gr.Textbox(label="Video URL or Filepath", elem_id="video_url")
|
41 |
description = gr.Textbox(label="Description of desired clip", elem_id="description")
|
42 |
video_output = gr.Video(label="Processed Video", elem_id="video_output")
|