From e05c3fd954699fa7c20b6f2c0db4c9a09b8206ec Mon Sep 17 00:00:00 2001
From: Jeff Yang <32727188+ydcjeff@users.noreply.github.com>
Date: Fri, 25 Jun 2021 15:37:39 +0630
Subject: [PATCH 1/2] Add v0.2.0 info and url in old app (#159)
* fix: add / in release badge [skip ci] (#100)
* Update README.md
* Add v0.2.0 info
---
README.md | 4 +---
app/streamlit_app.py | 4 ++++
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index 4d49e448..d5dfa954 100644
--- a/README.md
+++ b/README.md
@@ -6,9 +6,7 @@
Application to generate your training scripts with [PyTorch-Ignite](https://github.com/pytorch/ignite).
-
-Here should be an image and link to deployed application
-
+[][streamlit-url]
## Contribution
diff --git a/app/streamlit_app.py b/app/streamlit_app.py
index 412f90de..55139b96 100644
--- a/app/streamlit_app.py
+++ b/app/streamlit_app.py
@@ -84,6 +84,10 @@ class App:
def __init__(self):
st.set_page_config(page_title=self.page_title, page_icon=self.page_icon)
+ st.info(
+ "Code-Generator v0.2.0 released with new UI, templates, and bug fixes.\
+ \nTry now at: https://code-generator.netlify.app"
+ )
st.write(self.description, unsafe_allow_html=True)
self.codegen = CodeGenerator()
From a2ed5f771e7cf8a57c6f68b5a3797792f4676433 Mon Sep 17 00:00:00 2001
From: Taras Savchyn <30748114+trsvchn@users.noreply.github.com>
Date: Sat, 10 Jul 2021 22:29:32 +0300
Subject: [PATCH 2/2] Update link to v0.2.0 app (#166)
---
app/streamlit_app.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/streamlit_app.py b/app/streamlit_app.py
index 55139b96..6541ddd1 100644
--- a/app/streamlit_app.py
+++ b/app/streamlit_app.py
@@ -86,7 +86,7 @@ def __init__(self):
st.set_page_config(page_title=self.page_title, page_icon=self.page_icon)
st.info(
"Code-Generator v0.2.0 released with new UI, templates, and bug fixes.\
- \nTry now at: https://code-generator.netlify.app"
+ \nTry now at: https://code-generator.pytorch-ignite.ai/"
)
st.write(self.description, unsafe_allow_html=True)