Spaces:
Running
Running
Update index.html
Browse files- index.html +11 -14
index.html
CHANGED
@@ -1,19 +1,16 @@
|
|
1 |
-
<!DOCTYPE html>
|
2 |
<html>
|
3 |
<head>
|
4 |
-
<
|
5 |
-
<
|
6 |
-
<title>My static Space</title>
|
7 |
-
<link rel="stylesheet" href="style.css" />
|
8 |
</head>
|
9 |
<body>
|
10 |
-
<
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
</
|
18 |
</body>
|
19 |
-
</html>
|
|
|
|
|
1 |
<html>
|
2 |
<head>
|
3 |
+
<script type="module" crossorigin src="https://cdn.jsdelivr.net/npm/@gradio/lite@0.4.0/dist/lite.js"></script>
|
4 |
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@gradio/lite@0.4.0/dist/lite.css" />
|
|
|
|
|
5 |
</head>
|
6 |
<body>
|
7 |
+
<gradio-lite>
|
8 |
+
import gradio as gr
|
9 |
+
|
10 |
+
def greet(name):
|
11 |
+
return "Hello, " + name + "!"
|
12 |
+
|
13 |
+
gr.Interface(greet, "textbox", "textbox").launch()
|
14 |
+
</gradio-lite>
|
15 |
</body>
|
16 |
+
</html>
|