levimack commited on
Commit
04a7cb9
·
verified ·
1 Parent(s): 7bbb090

Update scripture_compare.py

Browse files
Files changed (1) hide show
  1. scripture_compare.py +8 -1
scripture_compare.py CHANGED
@@ -83,5 +83,12 @@ def compare(reference):
83
  return '\n\n'.join(str(c) for c in candidates)
84
 
85
 
86
- demo = gr.Interface(fn=compare, inputs="text", outputs="textarea")
 
 
 
 
 
 
 
87
  demo.launch()
 
83
  return '\n\n'.join(str(c) for c in candidates)
84
 
85
 
86
+ demo = gr.Interface(
87
+ compare,
88
+ gr.Textbox(
89
+ label="Scriptures",
90
+ info="Enter a verse, verse range, chapter(s) or mix (e.g. Gen 2:3 or Gen 2:1-3 or Exo 12 or Lev 20-23 or Gen 2:3,Exo 12,Lev 20-23)",
91
+ lines=1,
92
+ ),
93
+ gr.Textbox(label="Comparisons", lines=14))
94
  demo.launch()