Commit
β’
f2c6a14
1
Parent(s):
9d422fc
Interface update
Browse filesUpdate the interface and add more notes.
app.py
CHANGED
@@ -315,16 +315,16 @@ interface = gr.Interface(
|
|
315 |
inputs=[
|
316 |
gr.Textbox(label="YouTube Video Link"),
|
317 |
gr.Number(label="Maximum Comments", value=100),
|
318 |
-
gr.Textbox(label="
|
319 |
],
|
320 |
outputs=[
|
321 |
-
gr.Image(label="Word Cloud"),
|
322 |
-
gr.Textbox(label="Top 3 Positive Comments"),
|
323 |
-
gr.Textbox(label="Top 3 Negative Comments"),
|
324 |
-
gr.Image(label="Sentiment Analysis Chart")
|
325 |
],
|
326 |
-
title="YouTube Comments Analyzer",
|
327 |
-
description="Enter a YouTube link to generate a word cloud and sentiment analysis of the comments."
|
328 |
)
|
329 |
|
330 |
# Run the interface
|
|
|
315 |
inputs=[
|
316 |
gr.Textbox(label="YouTube Video Link"),
|
317 |
gr.Number(label="Maximum Comments", value=100),
|
318 |
+
gr.Textbox(label="Words to exclude from cloud (comma-separated)")
|
319 |
],
|
320 |
outputs=[
|
321 |
+
gr.Image(label="Word Cloud βοΈ"),
|
322 |
+
gr.Textbox(label="Top 3 Positive Comments ππ»"),
|
323 |
+
gr.Textbox(label="Top 3 Negative Comments ππ»"),
|
324 |
+
gr.Image(label="Sentiment Analysis Chart π")
|
325 |
],
|
326 |
+
title="YouTube Comments Analyzer π",
|
327 |
+
description="Enter a YouTube link to generate a word cloud, top positive and negative comments, and sentiment analysis of the comments. \n\n Note: The app is both desktop π₯οΈ/mobile π± compatible. Depending on the amount of comments found, it can take up to 1 - 2 mins to process. Have fun π!"
|
328 |
)
|
329 |
|
330 |
# Run the interface
|