aalkaswan commited on
Commit
e7bfb8d
Β·
1 Parent(s): c69f79a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -17,5 +17,11 @@ def classify(text, model_name):
17
  else:
18
  return 'False'
19
 
20
- iface = gr.Interface(fn=classify, inputs=["text", gr.inputs.Dropdown(model_names, label='class')], outputs="text")
 
 
 
 
 
 
21
  iface.launch()
 
17
  else:
18
  return 'False'
19
 
20
+ iface = gr.Interface(fn=classify,
21
+ inputs=["text", gr.inputs.Dropdown(model_names, label='class')],
22
+ outputs="text",
23
+ title='STACC',
24
+ description='''# STACC: Sentence-Transformers Assisted code Comment Classifiers
25
+
26
+ This app showcases STACC, a collection of SetFit-based Comment classifiers, which were created for the [NLBSE-2023 tool competition](https://nlbse2023.github.io/tools/). More details on the tool itself can be found in the [GitHub repo](https://github.com/AISE-TUDelft/STACC) ''')
27
  iface.launch()