Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,11 +16,14 @@ def gradio_comment(comment):
|
|
16 |
|
17 |
return text
|
18 |
|
19 |
-
GradioGUI = gr.Interface(
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
|
26 |
-
|
|
|
|
|
|
|
|
16 |
|
17 |
return text
|
18 |
|
19 |
+
# GradioGUI = gr.Interface(
|
20 |
+
# fn=gradio_comment,
|
21 |
+
# inputs='text',
|
22 |
+
# outputs='text',
|
23 |
+
# title='Aşağılayıcı Yorum Tespiti',
|
24 |
+
# css='''span{text-transform: uppercase} p{text-align: center}''')
|
25 |
|
26 |
+
iface = gr.Interface(gradio_comment, "text", "text")
|
27 |
+
|
28 |
+
if __name__ == "__main__":
|
29 |
+
iface.launch(enable_queue=True)
|