File size: 311 Bytes
67e09bb
 
 
 
 
 
a201200
67e09bb
 
 
 
a201200
67e09bb
 
 
a201200
67e09bb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# import gradio as gr

# def greet(name):
#     return "Hello " + name + "!"

# demo = gr.Interface(fn=greet, inputs="text", outputs="text")

# demo.launch()

import gradio as gr
import time

def test(x):
time.sleep(1)
return x

gr.Interface(test, "textbox", "textbox").queue().launch(root_path="/gradio-demo")