File size: 622 Bytes
27f2b67
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
27
28
29

<html>
    <head>
        <script type="module" crossorigin src="https://cdn.jsdelivr.net/npm/@gradio/lite/dist/lite.js"></script>
        <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@gradio/lite/dist/lite.css" />
    </head>
    <body>
        <gradio-lite theme="light">
            <gradio-requirements>

            </gradio-requirements>


            <gradio-file name="demo.py" entrypoint>
import gradio as gr


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


gr.Interface(greet, "textbox", "textbox").launch()

            </gradio-file>
        
        </gradio-lite>
    </body>
</html>