Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -61,7 +61,7 @@ def fetch_and_display_content(url):
|
|
61 |
|
62 |
# Add detected language to metadata
|
63 |
metadata["Detected Language"] = detected_lang.upper()
|
64 |
-
return cleaned_text, metadata, detected_lang, gr.update(visible=True), gr.update(visible=True), gr.update(visible=True), gr.update(visible=True)
|
65 |
|
66 |
### 2️⃣ Cleaning Function
|
67 |
def extract_and_clean_text(data):
|
|
|
61 |
|
62 |
# Add detected language to metadata
|
63 |
metadata["Detected Language"] = detected_lang.upper()
|
64 |
+
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)
|
65 |
|
66 |
### 2️⃣ Cleaning Function
|
67 |
def extract_and_clean_text(data):
|