Ashokdll commited on
Commit
3de7cfd
·
verified ·
1 Parent(s): cff6ce6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -0
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()