jasleen02 commited on
Commit
037799f
·
verified ·
1 Parent(s): 86629ee

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +14 -3
index.html CHANGED
@@ -4,16 +4,25 @@
4
  <meta charset="utf-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1">
6
 
7
- <script type="module"
 
 
 
8
  src="https://cdn.jsdelivr.net/npm/@gradio/lite/dist/lite.js">
9
  </script>
10
 
11
- <link rel="stylesheet"
 
12
  href="https://cdn.jsdelivr.net/npm/@gradio/lite/dist/lite.css">
13
-
14
  </head>
 
15
  <body>
16
  <gradio-lite>
 
 
 
 
 
17
  import gradio as gr
18
 
19
  def greet(name):
@@ -24,7 +33,9 @@ demo = gr.Interface(
24
  inputs="text",
25
  outputs="text"
26
  )
 
27
  demo.launch()
 
28
  </gradio-lite>
29
  </body>
30
  </html>
 
4
  <meta charset="utf-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1">
6
 
7
+ <title>Gradio Lite Demo</title>
8
+
9
+ <script
10
+ type="module"
11
  src="https://cdn.jsdelivr.net/npm/@gradio/lite/dist/lite.js">
12
  </script>
13
 
14
+ <link
15
+ rel="stylesheet"
16
  href="https://cdn.jsdelivr.net/npm/@gradio/lite/dist/lite.css">
 
17
  </head>
18
+
19
  <body>
20
  <gradio-lite>
21
+ <gradio-requirements>
22
+ huggingface_hub==0.36.0
23
+ </gradio-requirements>
24
+
25
+ <gradio-file name="app.py" entrypoint>
26
  import gradio as gr
27
 
28
  def greet(name):
 
33
  inputs="text",
34
  outputs="text"
35
  )
36
+
37
  demo.launch()
38
+ </gradio-file>
39
  </gradio-lite>
40
  </body>
41
  </html>