Spaces:
Sleeping
Sleeping
import gradio as gr | |
def my_function(input): | |
# Include your name in the output or any other specific logic you want | |
return f"Processed by Aumkar's model: {input}" | |
# Load the FLAN-T5 model | |
model = gr.load("models/google/flan-t5-large") | |
# Create an interface with your custom function | |
interface = gr.Interface(fn=my_function, inputs="text", outputs="text") | |
# Launch the interface | |
interface.launch(share=True) |