Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -15,6 +15,9 @@ 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 |
# Check if the pipeline is available before proceeding
|
19 |
if not pipeline_available:
|
20 |
st.error("The required pipeline is unavailable. Please ensure you have the correct version of the diffusers library.")
|
|
|
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
|
22 |
if not pipeline_available:
|
23 |
st.error("The required pipeline is unavailable. Please ensure you have the correct version of the diffusers library.")
|