File size: 401 Bytes
b49a392
e62b419
b49a392
e62b419
7ce3f04
734a0bd
 
 
b49a392
734a0bd
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import gradio as gr
from get_blender import main

main()

def process_text(input_text):
    # Your processing logic here
    return input_text.upper()

textbox = gr.Textbox(
    lines=5,
    placeholder="Type your text here...",
    interactive=False  # Set this to False to hide the input
)

interface = gr.Interface(
    fn=process_text,
    inputs=textbox,
    outputs="text"
)

interface.launch()