Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ def set_theme(dark_theme):
|
|
23 |
|
24 |
demo = gr.Interface(
|
25 |
fn=CustomChatGPT,
|
26 |
-
inputs=gr.Textbox(label="Insert jargon here (ask a question):", placeholder="E.g. What are gas fees?"), gr.
|
27 |
outputs=gr.Textbox(label="Get a simple answer in return:"),
|
28 |
title="Web(GPT)3",
|
29 |
css=set_theme
|
|
|
23 |
|
24 |
demo = gr.Interface(
|
25 |
fn=CustomChatGPT,
|
26 |
+
inputs=gr.Textbox(label="Insert jargon here (ask a question):", placeholder="E.g. What are gas fees?"), gr.Checkbox(label="Dark Theme", default=False),
|
27 |
outputs=gr.Textbox(label="Get a simple answer in return:"),
|
28 |
title="Web(GPT)3",
|
29 |
css=set_theme
|