pm6six commited on
Commit
c733318
1 Parent(s): e7b089b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -15,7 +15,10 @@ except ImportError as e:
15
  st.title("Image to Video with Hugging Face")
16
  st.write("Upload an image and provide a prompt to generate a video.")
17
 
18
- streamlit config set browser.gatherUsageStats false
 
 
 
19
 
20
 
21
  # Check if the pipeline is available before proceeding
 
15
  st.title("Image to Video with Hugging Face")
16
  st.write("Upload an image and provide a prompt to generate a video.")
17
 
18
+ import subprocess
19
+
20
+ subprocess.run(["streamlit", "config", "set", "browser.gatherUsageStats", "false"])
21
+
22
 
23
 
24
  # Check if the pipeline is available before proceeding