Di Zhang commited on
Commit
efeb96b
·
verified ·
1 Parent(s): b63c7b7

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="800"></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="100%"></iframe>'
12
 
13
  components.html(iframe_html, height=800)