File size: 417 Bytes
5d18c92
 
9c34856
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)