Web3Daily commited on
Commit
8c44628
1 Parent(s): b4c1cb7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -6
app.py CHANGED
@@ -19,13 +19,12 @@ 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
- 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()
 
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
+ demo.launch(window.addEventListener('load', function () {
26
  gradioURL = window.location.href
27
  if (!gradioURL.endsWith('?__theme=light')) {
28
  window.location.replace(gradioURL + '?__theme=light');
29
  }
30
+ });)