aumkar commited on
Commit
9c34856
1 Parent(s): 0ec2931

personalised

Browse files
Files changed (1) hide show
  1. app.py +12 -1
app.py CHANGED
@@ -1,3 +1,14 @@
1
  import gradio as gr
2
 
3
- gr.load("models/google/flan-t5-large").launch(share=True)
 
 
 
 
 
 
 
 
 
 
 
 
1
  import gradio as gr
2
 
3
+ def my_function(input):
4
+ # Include your name in the output or any other specific logic you want
5
+ return f"Processed by Aumkar's model: {input}"
6
+
7
+ # Load the FLAN-T5 model
8
+ model = gr.load("models/google/flan-t5-large")
9
+
10
+ # Create an interface with your custom function
11
+ interface = gr.Interface(fn=my_function, inputs="text", outputs="text")
12
+
13
+ # Launch the interface
14
+ interface.launch(share=True)