Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -89,10 +89,26 @@ with tab2:
|
|
| 89 |
if st.button("Run Interpolation"):
|
| 90 |
gif_path = interpolate_image(temp_a, temp_b)
|
| 91 |
st.image(gif_path, caption="Interpolated GIF")
|
|
|
|
| 92 |
st.markdown(
|
| 93 |
-
|
| 94 |
-
|
| 95 |
)
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 89 |
if st.button("Run Interpolation"):
|
| 90 |
gif_path = interpolate_image(temp_a, temp_b)
|
| 91 |
st.image(gif_path, caption="Interpolated GIF")
|
| 92 |
+
# Note about visual noise
|
| 93 |
st.markdown(
|
| 94 |
+
"**Note:** The visual noise is not present when you save the image. "
|
| 95 |
+
"This occurs in Streamlit's display, not in the Gradio demo app."
|
| 96 |
)
|
| 97 |
+
|
| 98 |
+
# Optional debug output path
|
| 99 |
+
# st.text(f"Output path: {gif_path}")
|
| 100 |
+
|
| 101 |
+
# HTML donation + message block
|
| 102 |
+
donation_html = """
|
| 103 |
+
<div style="margin: 0.75em 0;">
|
| 104 |
+
<a href="https://www.buymeacoffee.com/Artgen" target="_blank">
|
| 105 |
+
<img src="https://cdn.buymeacoffee.com/buttons/default-orange.png"
|
| 106 |
+
alt="Buy Me A Coffee" height="41" width="174">
|
| 107 |
+
</a>
|
| 108 |
+
</div>
|
| 109 |
+
<div style="margin: 0.75em 0;">
|
| 110 |
+
But what would really help me is a <strong>PRO subscription</strong> to
|
| 111 |
+
Google Colab, Kaggle or Hugging Face. Many thanks.
|
| 112 |
+
</div>
|
| 113 |
+
"""
|
| 114 |
+
st.markdown(donation_html, unsafe_allow_html=True)
|