Corran commited on
Commit
32b3519
·
verified ·
1 Parent(s): cfe819f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -96,6 +96,13 @@ def return_rf_scores(abstract):
96
 
97
  return output
98
 
 
99
 
100
- demo = gr.Interface(fn=return_rf_scores, inputs="text", outputs="html")
 
 
 
 
 
 
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()