Spaces:
Build error
Build error
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
from streamlit.components import v1 as components
|
3 |
+
|
4 |
+
def main():
|
5 |
+
st.title("Azure-IDR Diagram Viewer")
|
6 |
+
st.write("This application displays the Azure-IDR diagram from diagrams.net.")
|
7 |
+
|
8 |
+
iframe_url = "https://viewer.diagrams.net/?tags=%7B%7D&highlight=0000ff&edit=_blank&layers=1&nav=1&title=Azure-IDR.drawio#Uhttps%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D1ehmZiWNGpRARM_H0UXzcEQH5Vpj04Xfo%26export%3Ddownload"
|
9 |
+
components.iframe(iframe_url, width=1000, height=4865, scrolling=True)
|
10 |
+
|
11 |
+
if __name__ == "__main__":
|
12 |
+
main()
|