Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -83,8 +83,7 @@ dictionary={'LABEL_0':'activate_my_card',
|
|
83 |
|
84 |
|
85 |
def greet(text, dictionary=dictionary):
|
86 |
-
|
87 |
-
#return dictionary[response[0]['label']]
|
88 |
return response[0]['label']
|
89 |
|
90 |
demo = gr.Interface(fn=greet,
|
|
|
83 |
|
84 |
|
85 |
def greet(text, dictionary=dictionary):
|
86 |
+
response = pipe(text)
|
|
|
87 |
return response[0]['label']
|
88 |
|
89 |
demo = gr.Interface(fn=greet,
|