1littlecoder
commited on
Commit
•
b0c5434
1
Parent(s):
c75ec8b
Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,7 @@ from pixeltable.functions.video import extract_audio
|
|
6 |
from pixeltable.functions import openai as pxop
|
7 |
import openai
|
8 |
|
|
|
9 |
# pixeltable setup
|
10 |
db_directory = "video_db"
|
11 |
table_name = "video_table"
|
@@ -226,7 +227,8 @@ def gradio_interface():
|
|
226 |
)
|
227 |
video_input = gr.Video(label=f"Upload Video File (max {MAX_VIDEO_SIZE_MB} MB):",
|
228 |
include_audio = True,
|
229 |
-
max_length= 300
|
|
|
230 |
social_media_type = gr.Dropdown(
|
231 |
choices=["X (Twitter)", "Facebook", "LinkedIn"],
|
232 |
label="Select Social Media Platform:",
|
|
|
6 |
from pixeltable.functions import openai as pxop
|
7 |
import openai
|
8 |
|
9 |
+
|
10 |
# pixeltable setup
|
11 |
db_directory = "video_db"
|
12 |
table_name = "video_table"
|
|
|
227 |
)
|
228 |
video_input = gr.Video(label=f"Upload Video File (max {MAX_VIDEO_SIZE_MB} MB):",
|
229 |
include_audio = True,
|
230 |
+
max_length= 300,
|
231 |
+
height='400px')
|
232 |
social_media_type = gr.Dropdown(
|
233 |
choices=["X (Twitter)", "Facebook", "LinkedIn"],
|
234 |
label="Select Social Media Platform:",
|