Update app.py
Browse files
app.py
CHANGED
@@ -173,7 +173,7 @@ def infer(video_in):
|
|
173 |
# Extract audio from video
|
174 |
extracted_audio = extract_audio(video_in)
|
175 |
|
176 |
-
if
|
177 |
print(extracted_audio)
|
178 |
|
179 |
# Get description of audio content
|
@@ -195,7 +195,7 @@ def infer(video_in):
|
|
195 |
css = """
|
196 |
div#col-container{
|
197 |
margin: 0 auto;
|
198 |
-
max-width:
|
199 |
}
|
200 |
div#video-text textarea {
|
201 |
font-size: 20px;
|
|
|
173 |
# Extract audio from video
|
174 |
extracted_audio = extract_audio(video_in)
|
175 |
|
176 |
+
if extracted_audio is not None :
|
177 |
print(extracted_audio)
|
178 |
|
179 |
# Get description of audio content
|
|
|
195 |
css = """
|
196 |
div#col-container{
|
197 |
margin: 0 auto;
|
198 |
+
max-width: 1280px;
|
199 |
}
|
200 |
div#video-text textarea {
|
201 |
font-size: 20px;
|