Update app.py
Browse files
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 |
-
|
|
|
|
|
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 |
+
});)
|
|
|
|
|
|