Web3Daily commited on
Commit
630450c
1 Parent(s): 2ffe74c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -19,14 +19,13 @@ demo = gr.Interface(
19
  fn=CustomChatGPT,
20
  inputs=gr.Textbox(label="Insert jargon here (ask a question):", placeholder="E.g. What are gas fees?"),
21
  outputs=gr.Textbox(label="Get a simple answer in return:"),
22
- title="Web(GPT)3"
23
- )
24
-
25
- window.addEventListener('load', function () {
26
  gradioURL = window.location.href
27
  if (!gradioURL.endsWith('?__theme=light')) {
28
  window.location.replace(gradioURL + '?__theme=light');
29
  }
30
- });
 
31
 
32
  demo.launch()
 
19
  fn=CustomChatGPT,
20
  inputs=gr.Textbox(label="Insert jargon here (ask a question):", placeholder="E.g. What are gas fees?"),
21
  outputs=gr.Textbox(label="Get a simple answer in return:"),
22
+ title="Web(GPT)3",
23
+ window.addEventListener('load', function () {
 
 
24
  gradioURL = window.location.href
25
  if (!gradioURL.endsWith('?__theme=light')) {
26
  window.location.replace(gradioURL + '?__theme=light');
27
  }
28
+ })
29
+ )
30
 
31
  demo.launch()