Update app.py
Browse files
app.py
CHANGED
@@ -1237,7 +1237,9 @@ def display_videos_and_links(num_columns):
|
|
1237 |
display_glossary_entity(k)
|
1238 |
|
1239 |
# Add text input for video file
|
1240 |
-
|
|
|
|
|
1241 |
if video_text_input:
|
1242 |
try:
|
1243 |
seconds_per_frame = 10
|
|
|
1237 |
display_glossary_entity(k)
|
1238 |
|
1239 |
# Add text input for video file
|
1240 |
+
unique_key = hashlib.sha256(str(time.time()).encode()).hexdigest()
|
1241 |
+
|
1242 |
+
video_text_input = st.text_input(f"Video Prompt for {video_file}", key=f"video_prompt_{video_file}_{unique_key}")
|
1243 |
if video_text_input:
|
1244 |
try:
|
1245 |
seconds_per_frame = 10
|