patrickvonplaten commited on
Commit
5632375
1 Parent(s): 8eda62e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,14 +1,14 @@
1
  import streamlit as st
2
 
3
- txt_link = "https://huggingface.co/spaces/CompVis/license/raw/main/license.txt"
4
- html_link = "https://huggingface.co/spaces/CompVis/license/raw/main/license.html"
5
 
6
  st.sidebar.title("Stable Diffusion")
7
  st.sidebar.markdown("## Stable Diffusion RAIL License v1.0")
8
  st.sidebar.markdown(f"This is the home of the Stable Diffusion RAIL License v1.0.\
9
  If you would like to download the license you can get it as [.txt]({txt_link}), or [.html]({html_link}) file.")
10
 
11
- with open("license.html", "r") as f:
12
  license_html = f.read()
13
 
14
  st.markdown(license_html, unsafe_allow_html=True)
 
1
  import streamlit as st
2
 
3
+ txt_link = "https://huggingface.co/spaces/CompVis/stable-diffusion-license/raw/main/license.txt"
4
+ html_link = "https://huggingface.co/spaces/CompVis/stable-diffusion-license/raw/main/license.html"
5
 
6
  st.sidebar.title("Stable Diffusion")
7
  st.sidebar.markdown("## Stable Diffusion RAIL License v1.0")
8
  st.sidebar.markdown(f"This is the home of the Stable Diffusion RAIL License v1.0.\
9
  If you would like to download the license you can get it as [.txt]({txt_link}), or [.html]({html_link}) file.")
10
 
11
+ with open("license.txt", "r") as f:
12
  license_html = f.read()
13
 
14
  st.markdown(license_html, unsafe_allow_html=True)