Update app.py
Browse files
app.py
CHANGED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
def your_function(input_text):
|
4 |
+
return f"Processed: {input_text}"
|
5 |
+
|
6 |
+
iface = gr.Interface(
|
7 |
+
fn=your_function,
|
8 |
+
inputs="text",
|
9 |
+
outputs="text",
|
10 |
+
title="HateFusion"
|
11 |
+
)
|
12 |
+
|
13 |
+
if __name__ == "__main__":
|
14 |
+
iface.launch()
|