jschwab21 commited on
Commit
e93ae5f
·
verified ·
1 Parent(s): 3af1c8c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -22
app.py CHANGED
@@ -55,31 +55,17 @@ def display_results(video_url, description):
55
  return final_clip_path, final_clip_path
56
  return "No matching scene found", None
57
 
58
- # Custom CSS for additional styling
59
- css = """
60
- #video_url {
61
- background-color: #eb5726;
62
- color: #ffffff;
63
- border: 2px solid #eb5726;
64
- }
65
- #description {
66
- background-color: #ffffff;
67
- color: #282828;
68
- border: 2px solid #eb5726;
69
- }
70
- #submit_button {
71
- background-color: #eb5726;
72
- color: #ffffff;
73
- border: 2px solid #ffffff;
74
- }
75
- """
76
-
77
- with gr.Blocks(theme=custom_theme, css=css) as demo:
78
  with gr.Column():
79
  gr.Markdown("# Sickstadium AI", elem_classes="centered-markdown")
80
  gr.Markdown("### This is a brief description for the webpage.", elem_classes="centered-markdown")
81
- video_url = gr.Textbox(label="Video URL or Filepath", elem_id="video_url")
82
- description = gr.Textbox(label="Description of desired clip", elem_id="description")
 
 
 
 
 
83
  submit_button = gr.Button("Process Video", elem_id="submit_button")
84
  video_output = gr.Video(label="Processed Video", elem_id="video_output")
85
  download_output = gr.File(label="Download Processed Video", elem_id="download_output")
 
55
  return final_clip_path, final_clip_path
56
  return "No matching scene found", None
57
 
58
+ with gr.Blocks(theme=custom_theme) as demo:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
  with gr.Column():
60
  gr.Markdown("# Sickstadium AI", elem_classes="centered-markdown")
61
  gr.Markdown("### This is a brief description for the webpage.", elem_classes="centered-markdown")
62
+
63
+ gr.Markdown("### <span style='color:#ffffff'>Video URL or Filepath</span>", elem_classes="centered-markdown")
64
+ video_url = gr.Textbox(label="", elem_id="video_url")
65
+
66
+ gr.Markdown("### <span style='color:#eb5726'>Description of desired clip</span>", elem_classes="centered-markdown")
67
+ description = gr.Textbox(label="", elem_id="description")
68
+
69
  submit_button = gr.Button("Process Video", elem_id="submit_button")
70
  video_output = gr.Video(label="Processed Video", elem_id="video_output")
71
  download_output = gr.File(label="Download Processed Video", elem_id="download_output")