Update app.py
Browse files
app.py
CHANGED
@@ -96,6 +96,13 @@ def return_rf_scores(abstract):
|
|
96 |
|
97 |
return output
|
98 |
|
|
|
99 |
|
100 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
101 |
demo.launch()
|
|
|
96 |
|
97 |
return output
|
98 |
|
99 |
+
examples = []
|
100 |
|
101 |
+
with open("examples.tsv","r") as ex:
|
102 |
+
rd = csv.reader(ex, delimiter="\t", quotechar='"')
|
103 |
+
for row in rd:
|
104 |
+
examples.append(row)
|
105 |
+
|
106 |
+
|
107 |
+
demo = gr.Interface(fn=return_rf_scores, inputs="text", outputs="html",examples=[""])
|
108 |
demo.launch()
|