Spaces:
Runtime error
Runtime error
sagacious-satadru
commited on
Commit
•
b20c6fa
1
Parent(s):
4c69c06
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
import gradio as gr
|
3 |
|
4 |
# Load the model from Hugging Face
|
5 |
-
model_name = "
|
6 |
interface = gr.load(model_name, src="spaces")
|
7 |
|
8 |
def score_comment(comment):
|
|
|
2 |
import gradio as gr
|
3 |
|
4 |
# Load the model from Hugging Face
|
5 |
+
model_name = "comment-toxicity-analyzer/toxicity_det"
|
6 |
interface = gr.load(model_name, src="spaces")
|
7 |
|
8 |
def score_comment(comment):
|