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() |
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() |