Spaces:
Runtime error
Runtime error
Sean MacAvaney
commited on
Commit
•
0071fbe
1
Parent(s):
1d51440
update
Browse files
app.py
CHANGED
@@ -32,7 +32,9 @@ doc2query({df2code(input)})
|
|
32 |
return (doc2query(input), code)
|
33 |
|
34 |
example_inp = pd.DataFrame([
|
35 |
-
{'docno': '0', 'text': 'The presence of communication amid scientific minds was equally important to the success of the Manhattan Project as scientific intellect was. The only cloud hanging over the impressive achievement of the atomic researchers and engineers is what their success truly meant; hundreds of thousands of innocent lives obliterated.'}
|
|
|
|
|
36 |
])
|
37 |
|
38 |
example_out = predict(example_inp, MODEL, doc2query.append, doc2query.num_samples)
|
|
|
32 |
return (doc2query(input), code)
|
33 |
|
34 |
example_inp = pd.DataFrame([
|
35 |
+
{'docno': '0', 'text': 'The presence of communication amid scientific minds was equally important to the success of the Manhattan Project as scientific intellect was. The only cloud hanging over the impressive achievement of the atomic researchers and engineers is what their success truly meant; hundreds of thousands of innocent lives obliterated.'},
|
36 |
+
{'docno': '86', 'text': 'Usually, you can feel the pain reverberating from the upper portion of the left side of your abdomen towards the left side of your ribcage. Irritation on the Spleen – There is a chance that your spleen has already ruptured because of various reasons and this can cause some pains on the left rib cage.'},
|
37 |
+
{'docno': '985', 'text': 'Continue on Hollins Ferry Road to Patapsco Avenue. Make a right onto Patapsco Avenue for approximately 2.5 miles. The courthouse is at the corner of Patapsco Avenue and 7th Street. The commissioner\'s office is on the first (ground) floor.'}
|
38 |
])
|
39 |
|
40 |
example_out = predict(example_inp, MODEL, doc2query.append, doc2query.num_samples)
|