Spaces:
Running
Running
Commit ·
974fbb9
1
Parent(s): 7ccbc25
ok
Browse files- Dockerfile +1 -0
- app/models/schemas.py +1 -1
Dockerfile
CHANGED
|
@@ -28,6 +28,7 @@ RUN pip install --no-cache-dir --upgrade pip && \
|
|
| 28 |
pip install --no-cache-dir -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cpu && \
|
| 29 |
python -m spacy download en_core_web_sm
|
| 30 |
|
|
|
|
| 31 |
RUN git clone --depth 1 --branch master https://github.com/searxng/searxng.git /tmp/searxng && \
|
| 32 |
cd /tmp/searxng && \
|
| 33 |
pip install --no-cache-dir --use-pep517 --no-build-isolation -e . && \
|
|
|
|
| 28 |
pip install --no-cache-dir -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cpu && \
|
| 29 |
python -m spacy download en_core_web_sm
|
| 30 |
|
| 31 |
+
# SearXNG uses a rolling release model — master branch is the intended stable channel
|
| 32 |
RUN git clone --depth 1 --branch master https://github.com/searxng/searxng.git /tmp/searxng && \
|
| 33 |
cd /tmp/searxng && \
|
| 34 |
pip install --no-cache-dir --use-pep517 --no-build-isolation -e . && \
|
app/models/schemas.py
CHANGED
|
@@ -319,7 +319,7 @@ class WebSearchInfobox(BaseModel):
|
|
| 319 |
content: str = ""
|
| 320 |
infobox: str = ""
|
| 321 |
engine: str = ""
|
| 322 |
-
urls: List[Dict[str,
|
| 323 |
|
| 324 |
|
| 325 |
class WebSearchRequest(BaseModel):
|
|
|
|
| 319 |
content: str = ""
|
| 320 |
infobox: str = ""
|
| 321 |
engine: str = ""
|
| 322 |
+
urls: List[Dict[str, Any]] = []
|
| 323 |
|
| 324 |
|
| 325 |
class WebSearchRequest(BaseModel):
|