Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ def render_language_content(selected_language):
|
|
| 22 |
unsafe_allow_html=True)
|
| 23 |
elif selected_language == "Python":
|
| 24 |
website_url = "https://www.jdoodle.com/ia/1eQe"
|
| 25 |
-
st.components.v1.html(f"""<iframe src="{website_url}" width="100%" height="
|
| 26 |
elif selected_language == "HTML/CSS/JS":
|
| 27 |
st.markdown("<h3 style='color:pink;'>You selected HTML/CSS/JS.</h3><p>Add your custom HTML here.</p>",
|
| 28 |
unsafe_allow_html=True)
|
|
|
|
| 22 |
unsafe_allow_html=True)
|
| 23 |
elif selected_language == "Python":
|
| 24 |
website_url = "https://www.jdoodle.com/ia/1eQe"
|
| 25 |
+
st.components.v1.html(f"""<iframe src="{website_url}" width="100%" height="700px" frameborder="0"></iframe>""",height=700,)
|
| 26 |
elif selected_language == "HTML/CSS/JS":
|
| 27 |
st.markdown("<h3 style='color:pink;'>You selected HTML/CSS/JS.</h3><p>Add your custom HTML here.</p>",
|
| 28 |
unsafe_allow_html=True)
|