Skip to content

Commit

Permalink
[BugFix] outdated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
fedebotu committed Dec 7, 2024
1 parent 727f671 commit f54299b
Showing 1 changed file with 1 addition and 23 deletions.
24 changes: 1 addition & 23 deletions app.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import streamlit as st
import streamlit.components.v1 as components
import webbrowser

from src.problems.dpp.simulator import decap_sim
from utils.download_anonymous_github import download_repo


APP_NAME = "DPP Benchmark"

Expand All @@ -30,7 +27,7 @@


st.set_page_config(page_title=APP_NAME, page_icon=":zap:")
st.title(f"Decoupling Capacitor Placement")
st.title("Decoupling Capacitor Placement")

# Add permanent notice
st.markdown(
Expand All @@ -46,25 +43,6 @@

st.markdown("---")

# Title
st.markdown(
f"""
To download the code from our Anonymous Github Repo ([link](https://anonymous.4open.science/r/DPPBench)) automatically, click on "Downloader Script" and run:
`python3 download_anonymous_github.py`
in the terminal. This will download the repository to the current directory.
"""
)


# Download button for anonymous github
with open("download_anonymous_github.py", "r") as f:
download_script = f.read()

st.download_button(
label="Downloader Script ⬇️",
data=download_script,
file_name="download_anonymous_github.py",
)

# Divider
st.markdown("---")
Expand Down

0 comments on commit f54299b

Please sign in to comment.