Update app.py
Browse files
app.py
CHANGED
|
@@ -61,7 +61,7 @@ audio_language_dict = {
|
|
| 61 |
"Malayalam": {"code": "ml"}
|
| 62 |
}
|
| 63 |
|
| 64 |
-
|
| 65 |
global index
|
| 66 |
try:
|
| 67 |
documents = [Document(text=text)]
|
|
|
|
| 61 |
"Malayalam": {"code": "ml"}
|
| 62 |
}
|
| 63 |
|
| 64 |
+
def index_text(text: str) -> str:
|
| 65 |
global index
|
| 66 |
try:
|
| 67 |
documents = [Document(text=text)]
|