wower99 commited on
Commit
e0f02e8
·
1 Parent(s): 698fb1d

relocated the future update

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -7,6 +7,7 @@ import os
7
  from utils import clean_response, get_translation, get_image_prompts, generate_images, generate_video
8
  import constants
9
 
 
10
  # Initialize the client only once
11
  if 'client' not in st.session_state:
12
  st.session_state.client = Client("habib926653/openai-whisper-large-v3-turbo", hf_token=constants.HF_TOKEN)
@@ -60,6 +61,7 @@ st.markdown(
60
  "<h1 style='text-align: center;'>AI Video Generator</h1>",
61
  unsafe_allow_html=True
62
  )
 
63
 
64
  # Upload audio file
65
  audio_file = st.file_uploader("🔼 Upload your audio file:", type=constants.SUPPORTED_FORMATS)
@@ -148,7 +150,6 @@ if audio_file:
148
  # Display each image
149
  st.image(image_path, caption=f"{prompt}", use_container_width=True)
150
 
151
- st.info("Video Generation Feature Currently Under Development")
152
  else:
153
  st.warning("Please upload an audio file to proceed.")
154
 
 
7
  from utils import clean_response, get_translation, get_image_prompts, generate_images, generate_video
8
  import constants
9
 
10
+
11
  # Initialize the client only once
12
  if 'client' not in st.session_state:
13
  st.session_state.client = Client("habib926653/openai-whisper-large-v3-turbo", hf_token=constants.HF_TOKEN)
 
61
  "<h1 style='text-align: center;'>AI Video Generator</h1>",
62
  unsafe_allow_html=True
63
  )
64
+ st.info("Video Generation Feature Currently Under Development")
65
 
66
  # Upload audio file
67
  audio_file = st.file_uploader("🔼 Upload your audio file:", type=constants.SUPPORTED_FORMATS)
 
150
  # Display each image
151
  st.image(image_path, caption=f"{prompt}", use_container_width=True)
152
 
 
153
  else:
154
  st.warning("Please upload an audio file to proceed.")
155