Spaces:
Runtime error
Runtime error
Sean MacAvaney
commited on
Commit
·
506b8cf
1
Parent(s):
eb688f6
update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def df2code(df):
|
|
15 |
def predict(input, append):
|
16 |
doc2query.append = append
|
17 |
code = f'''
|
18 |
-
|
19 |
|
20 |
```python
|
21 |
import pandas as pd
|
@@ -50,5 +50,5 @@ gr.Interface(
|
|
50 |
value=[["[docno]", "[text]", "[querygen]"]],
|
51 |
), gr.Markdown()],
|
52 |
title="PyTerrier: Doc2Query",
|
53 |
-
allow_flagging=
|
54 |
).launch()
|
|
|
15 |
def predict(input, append):
|
16 |
doc2query.append = append
|
17 |
code = f'''
|
18 |
+
**Code:**
|
19 |
|
20 |
```python
|
21 |
import pandas as pd
|
|
|
50 |
value=[["[docno]", "[text]", "[querygen]"]],
|
51 |
), gr.Markdown()],
|
52 |
title="PyTerrier: Doc2Query",
|
53 |
+
allow_flagging='never',
|
54 |
).launch()
|