Update app.py
Browse files
app.py
CHANGED
|
@@ -178,6 +178,11 @@ div#col-container{
|
|
| 178 |
margin: 0 auto;
|
| 179 |
max-width: 720px;
|
| 180 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 181 |
"""
|
| 182 |
with gr.Blocks(css=css) as demo :
|
| 183 |
with gr.Column(elem_id="col-container"):
|
|
@@ -186,7 +191,7 @@ with gr.Blocks(css=css) as demo :
|
|
| 186 |
""")
|
| 187 |
video_in = gr.Video(label="Video input")
|
| 188 |
submit_btn = gr.Button("Submit")
|
| 189 |
-
video_description = gr.Textbox(label="Video description")
|
| 190 |
submit_btn.click(
|
| 191 |
fn = infer,
|
| 192 |
inputs = [video_in],
|
|
|
|
| 178 |
margin: 0 auto;
|
| 179 |
max-width: 720px;
|
| 180 |
}
|
| 181 |
+
div#video-text textarea {
|
| 182 |
+
font-size: 20px;
|
| 183 |
+
line-height: 1.2em;
|
| 184 |
+
font-weight: 600;
|
| 185 |
+
}
|
| 186 |
"""
|
| 187 |
with gr.Blocks(css=css) as demo :
|
| 188 |
with gr.Column(elem_id="col-container"):
|
|
|
|
| 191 |
""")
|
| 192 |
video_in = gr.Video(label="Video input")
|
| 193 |
submit_btn = gr.Button("Submit")
|
| 194 |
+
video_description = gr.Textbox(label="Video description", elem_id="video-text")
|
| 195 |
submit_btn.click(
|
| 196 |
fn = infer,
|
| 197 |
inputs = [video_in],
|