kwang2049 commited on
Commit
d163285
1 Parent(s): 68da7cc

force gradio version

Browse files
Files changed (1) hide show
  1. app.py +3 -0
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(