Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -82,7 +82,7 @@ dic={'LABEL_0':'activate_my_card',
|
|
82 |
'LABEL_76':'wrong_exchange_rate_for_cash_withdrawal'}
|
83 |
|
84 |
|
85 |
-
def greet(text,
|
86 |
response = pipe(text)
|
87 |
return dic[response[0]['label']]
|
88 |
|
|
|
82 |
'LABEL_76':'wrong_exchange_rate_for_cash_withdrawal'}
|
83 |
|
84 |
|
85 |
+
def greet(text, dic = dic):
|
86 |
response = pipe(text)
|
87 |
return dic[response[0]['label']]
|
88 |
|