Polo123 commited on
Commit
d5a051d
·
verified ·
1 Parent(s): 7cf9593

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -9,9 +9,10 @@ st.write('Scatter Plot of embeddings')
9
 
10
  HtmlFile = open("plot.html", 'r', encoding='utf-8')
11
  source_code = HtmlFile.read()
12
- components.html(source_code)
13
 
14
  # load Hgraph
 
15
  st.write('Loading Data')
16
  data = load_hetero_data()
17
 
 
9
 
10
  HtmlFile = open("plot.html", 'r', encoding='utf-8')
11
  source_code = HtmlFile.read()
12
+ components.html(source_code, width=500, height=500)
13
 
14
  # load Hgraph
15
+ global data
16
  st.write('Loading Data')
17
  data = load_hetero_data()
18