Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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.
|
|
|
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
|