AItool commited on
Commit
c4dbdfa
·
verified ·
1 Parent(s): cc59e72

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +21 -5
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
- "**Note:** Should visual noise be present: The visual noise is not present when you save the image. "
94
- "This occurs in Streamlit's display, not in the Gradio demo app."
95
  )
96
- #st.text(f"Output path: {gif_path}")
97
- st.markdown("""<div style="margin: 0.75em 0;"><a href="https://www.buymeacoffee.com/Artgen" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="41" width="174"></a></div>
98
- <div style="margin: 0.75em 0;">But what would really help me is a <strong>PRO subscription</strong> to Google Colab, Kaggle or Hugging Face. Many thanks.</div>""", unsafe_allow_html=True)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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)