Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@

Application to generate your training scripts with [PyTorch-Ignite](https://github.com/pytorch/ignite).

<div>
Here should be an image and link to deployed application
</div>
[![Code-Generator](https://user-images.githubusercontent.com/32727188/115562045-214aff00-a2dc-11eb-9de5-bec9fa7b94d2.png)][streamlit-url]

## Contribution

Expand Down
6 changes: 5 additions & 1 deletion app/streamlit_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class App:

[![Twitter](https://badgen.net/badge/icon/Twitter?icon=twitter&label)](https://twitter.com/pytorch_ignite)
[![GitHub](https://badgen.net/badge/icon/GitHub?icon=github&label)](https://github.com/pytorch-ignite/code-generator)
[![Release](https://badgen.net/github/tag/pytorch-ignite/code-generator?label=release)](https://github.com/pytorch-ignite/code-generator/releases/latest)
[![Release](https://badgen.net/github/tag/pytorch-ignite/code-generator/?label=release)](https://github.com/pytorch-ignite/code-generator/releases/latest)

</div>

Expand Down Expand Up @@ -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()
Expand Down