Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -72,7 +72,7 @@ def fetch_and_display_content(url):
|
|
72 |
|
73 |
# Add detected language to metadata
|
74 |
metadata["Detected Language"] = detected_lang.upper()
|
75 |
-
return cleaned_text, metadata, detected_lang, gr.update(visible=True), gr.update(visible=True), gr.update(visible=True), gr.update(visible=True), gr.update(visible=True)
|
76 |
|
77 |
### 2️⃣ Cleaning Function
|
78 |
def extract_and_clean_text(data):
|
|
|
72 |
|
73 |
# Add detected language to metadata
|
74 |
metadata["Detected Language"] = detected_lang.upper()
|
75 |
+
return cleaned_text, metadata, detected_lang,summary_text, gr.update(visible=True), gr.update(visible=True), gr.update(visible=True), gr.update(visible=True), gr.update(visible=True)
|
76 |
|
77 |
### 2️⃣ Cleaning Function
|
78 |
def extract_and_clean_text(data):
|