Update app.py
Browse files
app.py
CHANGED
|
@@ -400,19 +400,13 @@ elif option == "Interactive Timing Strategy":
|
|
| 400 |
# Use st.components.v1.html to render the iframe
|
| 401 |
st.components.v1.html(
|
| 402 |
"""
|
| 403 |
-
<style>
|
| 404 |
-
.full-height-iframe {
|
| 405 |
-
width: 100%;
|
| 406 |
-
height: 100vh; /* 100% of the viewport height */
|
| 407 |
-
border: none;
|
| 408 |
-
}
|
| 409 |
-
</style>
|
| 410 |
<iframe
|
| 411 |
-
class="full-height-iframe"
|
| 412 |
src="https://eagle0504-technical-trader.hf.space"
|
|
|
|
|
|
|
| 413 |
></iframe>
|
| 414 |
""",
|
| 415 |
-
height=
|
| 416 |
)
|
| 417 |
else:
|
| 418 |
st.warning("Please select an option and click the submit button!")
|
|
|
|
| 400 |
# Use st.components.v1.html to render the iframe
|
| 401 |
st.components.v1.html(
|
| 402 |
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 403 |
<iframe
|
|
|
|
| 404 |
src="https://eagle0504-technical-trader.hf.space"
|
| 405 |
+
frameborder="0"
|
| 406 |
+
style="width: 100%; height: 450px;"
|
| 407 |
></iframe>
|
| 408 |
""",
|
| 409 |
+
height=750, # Set the height to match the iframe's height style
|
| 410 |
)
|
| 411 |
else:
|
| 412 |
st.warning("Please select an option and click the submit button!")
|