nickprock commited on
Commit
3ff7064
1 Parent(s): 0b4d896

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -84,7 +84,8 @@ dictionary={'LABEL_0':'activate_my_card',
84
 
85
  def greet(text, dictionary=dictionary):
86
  response = pipe(text)
87
- return dictionary[response[0]['label']]
 
88
 
89
  demo = gr.Interface(fn=greet,
90
  inputs="text",
 
84
 
85
  def greet(text, dictionary=dictionary):
86
  response = pipe(text)
87
+ #return dictionary[response[0]['label']]
88
+ return response[0]['label']
89
 
90
  demo = gr.Interface(fn=greet,
91
  inputs="text",