force gradio version
Browse files
app.py
CHANGED
|
@@ -2,6 +2,9 @@ import gradio as gr
|
|
| 2 |
from typing import Dict, List, Optional, TypedDict
|
| 3 |
from nlp4web_codebase.ir.data_loaders.sciq import load_sciq
|
| 4 |
from bm25 import BM25Index, BM25Retriever
|
|
|
|
|
|
|
|
|
|
| 5 |
|
| 6 |
sciq = load_sciq()
|
| 7 |
bm25_index = BM25Index.build_from_documents(
|
|
|
|
| 2 |
from typing import Dict, List, Optional, TypedDict
|
| 3 |
from nlp4web_codebase.ir.data_loaders.sciq import load_sciq
|
| 4 |
from bm25 import BM25Index, BM25Retriever
|
| 5 |
+
import os
|
| 6 |
+
|
| 7 |
+
os.system("pip install gradio==4.44.0")
|
| 8 |
|
| 9 |
sciq = load_sciq()
|
| 10 |
bm25_index = BM25Index.build_from_documents(
|