missvector commited on
Commit
5b097a8
·
verified ·
1 Parent(s): 96c5059

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,4 +15,4 @@ aggile = Aggile(client=client)
15
  triplets = aggile.form_triples(text)
16
  st.text(triplets)
17
  # Visualize graph based on generated triplets
18
- st.html(Graph(triplets).build_graph()) # Saves and shows graph_with_predicates.html
 
15
  triplets = aggile.form_triples(text)
16
  st.text(triplets)
17
  # Visualize graph based on generated triplets
18
+ st.plotly_chart(Graph(triplets).build_graph()) # Saves and shows graph_with_predicates.html