Abhay Mishra commited on
Commit
1960024
·
1 Parent(s): 63cb040

specify that departmen selection is optional

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ def give_best_match(query, Department):
43
  demo = gr.Interface(fn = give_best_match,
44
  inputs=[
45
  gr.Textbox(label="Describe the course",lines = 5, placeholder = "Type anything related to course/s\n\nTitle, Topics/Sub Topics, Refernce books, Questions asked in exams or some random fun stuff."),
46
- gr.CheckboxGroup(deps),
47
  ],
48
  outputs=gr.Label(label = "Most Relevant Courses", num_top_classes=5)
49
  )
 
43
  demo = gr.Interface(fn = give_best_match,
44
  inputs=[
45
  gr.Textbox(label="Describe the course",lines = 5, placeholder = "Type anything related to course/s\n\nTitle, Topics/Sub Topics, Refernce books, Questions asked in exams or some random fun stuff."),
46
+ gr.CheckboxGroup(deps, label = "(Optional) Departments"),
47
  ],
48
  outputs=gr.Label(label = "Most Relevant Courses", num_top_classes=5)
49
  )