Spaces:
Runtime error
Runtime error
stevenlx96
commited on
Commit
•
17d0746
1
Parent(s):
586e2d6
Add application file
Browse files- Hate_speech_detection.ipynb +0 -0
- app.py +7 -0
Hate_speech_detection.ipynb
ADDED
The diff for this file is too large to render.
See raw diff
|
|
app.py
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
def greet(name):
|
4 |
+
return "Hello " + name + "!!"
|
5 |
+
|
6 |
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
7 |
+
iface.launch()
|