Spaces:
Sleeping
Sleeping
Updated wikipedia package support
Browse files- app.py +3 -0
- requirements.txt +1 -0
app.py
CHANGED
@@ -6,6 +6,9 @@ from typing import List, Dict, Any
|
|
6 |
from dotenv import load_dotenv
|
7 |
import json
|
8 |
import traceback
|
|
|
|
|
|
|
9 |
|
10 |
# LlamaIndex Imports
|
11 |
from llama_index.core.llms import LLM
|
|
|
6 |
from dotenv import load_dotenv
|
7 |
import json
|
8 |
import traceback
|
9 |
+
import subprocess
|
10 |
+
import sys
|
11 |
+
import wikipedia
|
12 |
|
13 |
# LlamaIndex Imports
|
14 |
from llama_index.core.llms import LLM
|
requirements.txt
CHANGED
@@ -3,6 +3,7 @@ requests>=2.31.0
|
|
3 |
pandas>=2.0.0
|
4 |
python-dotenv>=1.0.0
|
5 |
itsdangerous>=2.0.0
|
|
|
6 |
|
7 |
# LlamaIndex packages
|
8 |
llama-index>=0.10.0
|
|
|
3 |
pandas>=2.0.0
|
4 |
python-dotenv>=1.0.0
|
5 |
itsdangerous>=2.0.0
|
6 |
+
wikipedia>=1.4.0
|
7 |
|
8 |
# LlamaIndex packages
|
9 |
llama-index>=0.10.0
|