File size: 245 Bytes
3de7cfd
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import gradio as gr

def your_function(input_text):
    return f"Processed: {input_text}"

iface = gr.Interface(
    fn=your_function,
    inputs="text",
    outputs="text",
    title="HateFusion"
)

if __name__ == "__main__":
    iface.launch()