Illia56 commited on
Commit
32707a5
·
1 Parent(s): a0737f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -67,9 +67,9 @@ def sidebar():
67
  st.markdown("Enter the YouTube Video URL below🔗\n")
68
  st.session_state.youtube_url = st.text_input("YouTube Video URL:")
69
 
70
- REPLICATE_API_TOKEN = st.text_input("REPLICATE API TOKEN:", type="password") # Using type="password" to mask the input
71
- if REPLICATE_API_TOKEN:
72
- os.environ["REPLICATE_API_TOKEN"] = REPLICATE_API_TOKEN
73
 
74
  if st.session_state.youtube_url:
75
  # Get the video title
 
67
  st.markdown("Enter the YouTube Video URL below🔗\n")
68
  st.session_state.youtube_url = st.text_input("YouTube Video URL:")
69
 
70
+ # REPLICATE_API_TOKEN = st.text_input("REPLICATE API TOKEN:", type="password") # Using type="password" to mask the input
71
+ # if REPLICATE_API_TOKEN:
72
+ # os.environ["REPLICATE_API_TOKEN"] = REPLICATE_API_TOKEN
73
 
74
  if st.session_state.youtube_url:
75
  # Get the video title