Patelcoder commited on
Commit
49c3b81
·
verified ·
1 Parent(s): 744a700

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +8 -3
index.html CHANGED
@@ -5,7 +5,7 @@
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
  <title>AI Descriptor Agent</title>
7
 
8
- <script type="module" src="https://gradio-lite-previews.s3.amazonaws.com/PINNED_HF_HUB/dist/lite.js"></script>
9
  <link rel="stylesheet" href="https://gradio-lite-previews.s3.amazonaws.com/PINNED_HF_HUB/dist/lite.css" />
10
 
11
  <style>
@@ -19,7 +19,11 @@
19
  </style>
20
  </head>
21
  <body>
22
- <gradio-app requirements="openai">
 
 
 
 
23
  import gradio as gr
24
  from openai import OpenAI
25
 
@@ -71,6 +75,7 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue="blue", secondary_hue="indigo"))
71
  )
72
 
73
  demo.launch()
74
- </gradio-app>
 
75
  </body>
76
  </html>
 
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
  <title>AI Descriptor Agent</title>
7
 
8
+ <script type="module" crossorigin src="https://gradio-lite-previews.s3.amazonaws.com/PINNED_HF_HUB/dist/lite.js"></script>
9
  <link rel="stylesheet" href="https://gradio-lite-previews.s3.amazonaws.com/PINNED_HF_HUB/dist/lite.css" />
10
 
11
  <style>
 
19
  </style>
20
  </head>
21
  <body>
22
+ <gradio-lite theme="dark">
23
+ <gradio-requirements>
24
+ openai
25
+ </gradio-requirements>
26
+ <gradio-file name="app.py" entrypoint>
27
  import gradio as gr
28
  from openai import OpenAI
29
 
 
75
  )
76
 
77
  demo.launch()
78
+ </gradio-file>
79
+ </gradio-lite>
80
  </body>
81
  </html>