Spaces:
Runtime error
Runtime error
santarabantoosoo
commited on
Commit
•
8266d1c
1
Parent(s):
76612b7
modified examples in word frequency
Browse files
app.py
CHANGED
@@ -408,10 +408,8 @@ with gr.Blocks() as demo:
|
|
408 |
|
409 |
freq_button.click(display_freq_plot, inputs=inputs, outputs=plot_output)
|
410 |
gr.Examples(
|
411 |
-
|
412 |
-
|
413 |
-
outputs=plot_output,
|
414 |
-
fn=display_freq_plot)
|
415 |
|
416 |
with gr.TabItem("Sentiment analysis"):
|
417 |
text_input = gr.Radio(choices = ['Sentiment distribution', 'Word clouds', 'Time series'], label = 'Choose ur plot')
|
@@ -422,6 +420,4 @@ with gr.Blocks() as demo:
|
|
422 |
|
423 |
|
424 |
demo.launch(debug=True, show_error = True);
|
425 |
-
|
426 |
-
demo.launch(debug=True, show_error = True);
|
427 |
|
|
|
408 |
|
409 |
freq_button.click(display_freq_plot, inputs=inputs, outputs=plot_output)
|
410 |
gr.Examples(
|
411 |
+
examples= [['TFIDF', 'Stanchezza', "l'età", '#LongCovidKids'], ['Whole_text', 'nebbia cognitiva', 'mal di testa', 'Dura PROVA']],
|
412 |
+
inputs= inputs)
|
|
|
|
|
413 |
|
414 |
with gr.TabItem("Sentiment analysis"):
|
415 |
text_input = gr.Radio(choices = ['Sentiment distribution', 'Word clouds', 'Time series'], label = 'Choose ur plot')
|
|
|
420 |
|
421 |
|
422 |
demo.launch(debug=True, show_error = True);
|
|
|
|
|
423 |
|