Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ dictionary={'0':'not-hateful',
|
|
| 9 |
|
| 10 |
def greet(text, dictionary=dictionary):
|
| 11 |
preds = model(text)
|
| 12 |
-
return
|
| 13 |
|
| 14 |
demo = gr.Interface(fn=greet,
|
| 15 |
inputs="text",
|
|
|
|
| 9 |
|
| 10 |
def greet(text, dictionary=dictionary):
|
| 11 |
preds = model(text)
|
| 12 |
+
return response
|
| 13 |
|
| 14 |
demo = gr.Interface(fn=greet,
|
| 15 |
inputs="text",
|