MYox commited on
Commit
e30868a
·
1 Parent(s): eae27f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -29,8 +29,8 @@ def get_comment_topics_old(comment):
29
 
30
  app = gr.Interface(
31
  fn = get_comment_topics_old,
32
- inputs=gr.Textbox(lines=4, placeholder='Type comment here'),
33
- outputs=gr.Textbox(lines=4),
34
  allow_flagging='never',
35
  examples = ([["Lots of support, especially when revising for exams. Lecturers always respond to emails very quickly!"],
36
  ["Loved everything. Met lots of new people and really enjoyed placements."],
 
29
 
30
  app = gr.Interface(
31
  fn = get_comment_topics_old,
32
+ inputs=gr.Textbox(lines=4, placeholder='Type comment here or choose example, below', label='Comment'),
33
+ outputs=gr.Textbox(lines=4, label='Generated Topics'),
34
  allow_flagging='never',
35
  examples = ([["Lots of support, especially when revising for exams. Lecturers always respond to emails very quickly!"],
36
  ["Loved everything. Met lots of new people and really enjoyed placements."],