Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -258,7 +258,7 @@ with gr.Blocks() as demo:
|
|
258 |
plot_adj = gr.Plot(label="Word graph adjacency matrix")
|
259 |
|
260 |
id.change(get_list_sentences, id, sentence_transcript)
|
261 |
-
sentence_transcript.change(plot_graph_sentence, sentence_transcript, [plot_graph, plot_adj])
|
262 |
-
sentence_typed.change(plot_graph_sentence, sentence_typed, [plot_graph, plot_adj])
|
263 |
|
264 |
demo.launch()
|
|
|
258 |
plot_adj = gr.Plot(label="Word graph adjacency matrix")
|
259 |
|
260 |
id.change(get_list_sentences, id, sentence_transcript)
|
261 |
+
sentence_transcript.change(plot_graph_sentence, [sentence_transcript, graph_type], [plot_graph, plot_adj])
|
262 |
+
sentence_typed.change(plot_graph_sentence, [sentence_typed, graph_type], [plot_graph, plot_adj])
|
263 |
|
264 |
demo.launch()
|