Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -8,6 +8,6 @@ st.set_page_config(layout="wide")
|
|
8 |
|
9 |
backend_url = os.getenv("backend", "https://chemllm.org/") # 如果环境变量不存在,则使用默认 URL
|
10 |
|
11 |
-
iframe_html = f'<iframe src="{backend_url}" width="100%" height="
|
12 |
|
13 |
components.html(iframe_html, height=800)
|
|
|
8 |
|
9 |
backend_url = os.getenv("backend", "https://chemllm.org/") # 如果环境变量不存在,则使用默认 URL
|
10 |
|
11 |
+
iframe_html = f'<iframe src="{backend_url}" width="100%" height="800" style="border: none;display: block;margin: 0 auto;"></iframe>'
|
12 |
|
13 |
components.html(iframe_html, height=800)
|