Spaces:
Runtime error
Runtime error
samarthagarwal23
commited on
Commit
•
e5374a1
1
Parent(s):
d41ae22
Update app.py
Browse files
app.py
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
import gradio as gr
|
2 |
import os
|
3 |
import numpy as np
|
4 |
-
os.system("pip install pdfminer.six rank_bm25 torch transformers termcolor")
|
5 |
|
6 |
from gradio.mix import Series
|
7 |
-
import re
|
8 |
from rank_bm25 import BM25Okapi
|
9 |
-
import string
|
10 |
import torch
|
11 |
from transformers import pipeline
|
12 |
import pdfminer
|
|
|
1 |
import gradio as gr
|
2 |
import os
|
3 |
import numpy as np
|
4 |
+
#os.system("pip install pdfminer.six rank_bm25 torch transformers termcolor")
|
5 |
|
6 |
from gradio.mix import Series
|
7 |
+
#import re
|
8 |
from rank_bm25 import BM25Okapi
|
9 |
+
#import string
|
10 |
import torch
|
11 |
from transformers import pipeline
|
12 |
import pdfminer
|