Spaces:
Running
Running
edit
Browse files
app.py
CHANGED
@@ -352,12 +352,21 @@ def main():
|
|
352 |
""",
|
353 |
unsafe_allow_html=True
|
354 |
)
|
355 |
-
st.info("Unfortunately, FILM is not available for use on the HF Demo, please select other choices.")
|
356 |
|
357 |
# Always set use_film to False since it's disabled
|
358 |
use_film = False
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
359 |
film_recursions = 3 # placeholder value, but it won't be used since FILM is disabled
|
360 |
-
|
361 |
# Set default FPS based on preset
|
362 |
default_fps = preset_fps if preset_fps is not None else 10
|
363 |
output_fps = st.number_input("Output FPS (1β60)", min_value=1, max_value=60, value=default_fps,
|
|
|
352 |
""",
|
353 |
unsafe_allow_html=True
|
354 |
)
|
|
|
355 |
|
356 |
# Always set use_film to False since it's disabled
|
357 |
use_film = False
|
358 |
+
# Disabled FILM recursion parameter with warning message
|
359 |
+
st.markdown(
|
360 |
+
"""
|
361 |
+
<div class="disabled-checkbox">
|
362 |
+
<span>FILM recursion passes (1β6)</span>
|
363 |
+
</div>
|
364 |
+
""",
|
365 |
+
unsafe_allow_html=True
|
366 |
+
)
|
367 |
+
st.info("Unfortunately, FILM is not available for use on the HF Demo, please select other choices.")
|
368 |
film_recursions = 3 # placeholder value, but it won't be used since FILM is disabled
|
369 |
+
|
370 |
# Set default FPS based on preset
|
371 |
default_fps = preset_fps if preset_fps is not None else 10
|
372 |
output_fps = st.number_input("Output FPS (1β60)", min_value=1, max_value=60, value=default_fps,
|