PuristanLabs1 commited on
Commit
23f13e6
·
verified ·
1 Parent(s): 791ecaf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -29,8 +29,8 @@ SUPPORTED_TTS_LANGUAGES = {
29
  "pt": "p", # Brazilian Portuguese
30
  }
31
 
32
- ### 1️⃣ Fetch and Extract Content
33
- def fetch_content(url):
34
  """Fetch and extract text from a given URL (HTML or PDF)."""
35
  if url.endswith(".pdf") or "pdf" in url:
36
  converter = DocumentConverter()
 
29
  "pt": "p", # Brazilian Portuguese
30
  }
31
 
32
+ ### 1️⃣ Fetch and Extract Content (Runs Immediately)
33
+ def fetch_and_display_content(url):
34
  """Fetch and extract text from a given URL (HTML or PDF)."""
35
  if url.endswith(".pdf") or "pdf" in url:
36
  converter = DocumentConverter()