Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,8 +2,6 @@ import gradio as gr
|
|
2 |
import torch
|
3 |
from transformers import pipeline
|
4 |
|
5 |
-
gr.themes.Base()
|
6 |
-
|
7 |
app_title = "Portuguese Hate Speech Detection"
|
8 |
|
9 |
app_description = """
|
@@ -61,4 +59,4 @@ outputs = [
|
|
61 |
]
|
62 |
|
63 |
gr.Interface(fn=predict, inputs=inputs, outputs=outputs, title=app_title,
|
64 |
-
description=app_description, examples=app_examples).launch()
|
|
|
2 |
import torch
|
3 |
from transformers import pipeline
|
4 |
|
|
|
|
|
5 |
app_title = "Portuguese Hate Speech Detection"
|
6 |
|
7 |
app_description = """
|
|
|
59 |
]
|
60 |
|
61 |
gr.Interface(fn=predict, inputs=inputs, outputs=outputs, title=app_title,
|
62 |
+
description=app_description, examples=app_examples, theme=gr.themes.Monochrome()).launch()
|