Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -289,13 +289,14 @@ with gr.Blocks() as demo:
|
|
289 |
with gr.Row():
|
290 |
extracted_text = gr.Textbox(label="Extracted Content", visible=False, interactive=False, lines=15)
|
291 |
metadata_output = gr.JSON(label="Article Metadata", visible=False) # Displays metadata
|
|
|
292 |
|
293 |
|
294 |
detected_lang = gr.Textbox(label="Detected Language", visible=False)
|
295 |
summary_output = gr.Textbox(label="Summary", visible=True, interactive=False)
|
296 |
full_audio_output = gr.Audio(label="Generated Audio", visible=True)
|
297 |
ner_output = gr.Textbox(label="Extracted Entities", visible=True, interactive=False)
|
298 |
-
wordcloud_output = gr.Image(label="Word Cloud", visible=True)
|
299 |
|
300 |
# Step 1: Fetch Text & Detect Language First
|
301 |
process_text_button.click(
|
|
|
289 |
with gr.Row():
|
290 |
extracted_text = gr.Textbox(label="Extracted Content", visible=False, interactive=False, lines=15)
|
291 |
metadata_output = gr.JSON(label="Article Metadata", visible=False) # Displays metadata
|
292 |
+
wordcloud_output = gr.Image(label="Word Cloud", visible=True)
|
293 |
|
294 |
|
295 |
detected_lang = gr.Textbox(label="Detected Language", visible=False)
|
296 |
summary_output = gr.Textbox(label="Summary", visible=True, interactive=False)
|
297 |
full_audio_output = gr.Audio(label="Generated Audio", visible=True)
|
298 |
ner_output = gr.Textbox(label="Extracted Entities", visible=True, interactive=False)
|
299 |
+
#wordcloud_output = gr.Image(label="Word Cloud", visible=True)
|
300 |
|
301 |
# Step 1: Fetch Text & Detect Language First
|
302 |
process_text_button.click(
|