File size: 459 Bytes
9393d1c
7589db1
 
 
 
362c238
 
 
 
 
 
 
 
 
7589db1
1023868
 
c262739
1023868
 
7589db1
 
 
9393d1c
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import gradio as gr
from tools import pipeline_dani




theme = gr.themes.Base(
    primary_hue="neutral",
    secondary_hue="stone",
    neutral_hue="red",
)


demo = gr.Interface(theme=theme,
    fn=pipeline_dani,
    title="Dani's pipeline",
    description="This is a pipeline that receives a string and returns it in uppercase.",
    inputs=gr.Textbox(lines=2, label="Enter a text:"),
    outputs="text"
)




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