qq8933 commited on
Commit
57ad34c
1 Parent(s): efeb96b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="100%"></iframe>'
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)