Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -40,11 +40,11 @@ CONTACT_TEXT = """
|
|
40 |
_Built by Data ❤️
|
41 |
|
42 |
"""
|
43 |
-
GENERATE_IMAGE_TEXT = "Generate NFT by selecting existing model based on OpenSea collection. You can create new model or imporve existing in few clicks
|
44 |
-
INTERPOLATION_TEXT = "Generate interpolation between two NFTs by selecting existing model based on OpenSea collection. You can create new model or imporve existing in few clicks
|
45 |
-
COLLECTION2COLLECTION_TEXT = "Generate first NFT with existing model and transform it to another collection by selecting existing model based on OpenSea collections. You can create new model or imporve existing in few clicks
|
46 |
|
47 |
-
TRAIN_TEXT = "> If you think that the results of the model are not good enough and they can be improved, you can train the model more in a few clicks. If you notice that the model is overtrained, then you can easily return to the best version.
|
48 |
|
49 |
STOPWORDS = ["-old"]
|
50 |
COLLECTION2COLLECTION_KEYS = ["__2__"]
|
@@ -100,7 +100,7 @@ with st.sidebar:
|
|
100 |
|
101 |
|
102 |
if choose == "About":
|
103 |
-
README = requests.get("https://raw.githubusercontent.com/
|
104 |
README = str(README).replace('width="1200"','width="700"')
|
105 |
# st.title(choose)
|
106 |
st.markdown(README, unsafe_allow_html=True)
|
|
|
40 |
_Built by Data ❤️
|
41 |
|
42 |
"""
|
43 |
+
GENERATE_IMAGE_TEXT = "Generate NFT by selecting existing model based on OpenSea collection. You can create new model or imporve existing in few clicks."
|
44 |
+
INTERPOLATION_TEXT = "Generate interpolation between two NFTs by selecting existing model based on OpenSea collection. You can create new model or imporve existing in few clicks."
|
45 |
+
COLLECTION2COLLECTION_TEXT = "Generate first NFT with existing model and transform it to another collection by selecting existing model based on OpenSea collections. You can create new model or imporve existing in few clicks."
|
46 |
|
47 |
+
TRAIN_TEXT = "> If you think that the results of the model are not good enough and they can be improved, you can train the model more in a few clicks. If you notice that the model is overtrained, then you can easily return to the best version. "
|
48 |
|
49 |
STOPWORDS = ["-old"]
|
50 |
COLLECTION2COLLECTION_KEYS = ["__2__"]
|
|
|
100 |
|
101 |
|
102 |
if choose == "About":
|
103 |
+
README = requests.get("https://raw.githubusercontent.com/dr-data/huggingnft/main/README.md").text
|
104 |
README = str(README).replace('width="1200"','width="700"')
|
105 |
# st.title(choose)
|
106 |
st.markdown(README, unsafe_allow_html=True)
|