Update app.py
Browse files
app.py
CHANGED
|
@@ -148,6 +148,8 @@ if st.button("Generate code!"):
|
|
| 148 |
for i in range(len(generations)):
|
| 149 |
st.markdown(f"**{selected_models[i]}**")
|
| 150 |
st.code(generations[i])
|
|
|
|
|
|
|
| 151 |
|
| 152 |
# Resources
|
| 153 |
st.subheader("Resources")
|
|
|
|
| 148 |
for i in range(len(generations)):
|
| 149 |
st.markdown(f"**{selected_models[i]}**")
|
| 150 |
st.code(generations[i])
|
| 151 |
+
if len(generations) < len(selected_models):
|
| 152 |
+
st.markdown("<span style='color:red'>Warning: Some models run into timeout, you can try generating code using the original subspaces: [InCoder](https://huggingface.co/spaces/loubnabnl/incoder-subspace), [CodeGen](https://huggingface.co/spaces/loubnabnl/codegen-subspace), [CodeParrot](https://huggingface.co/spaces/loubnabnl/codeparrot-subspace)</span>", unsafe_allow_html=True)
|
| 153 |
|
| 154 |
# Resources
|
| 155 |
st.subheader("Resources")
|