Update app.py
Browse files
app.py
CHANGED
@@ -15,10 +15,11 @@ def CustomChatGPT(Question):
|
|
15 |
messages.append({"role": "assistant", "content": ChatGPT_reply})
|
16 |
return ChatGPT_reply
|
17 |
|
18 |
-
|
19 |
fn=CustomChatGPT,
|
20 |
inputs=gr.Textbox(label="Ask a question:", placeholder="E.g. What are gas fees?"),
|
21 |
outputs=gr.Textbox(label="Get a super simple answer:"),
|
|
|
22 |
title="Web(GPT)3"
|
23 |
)
|
24 |
|
|
|
15 |
messages.append({"role": "assistant", "content": ChatGPT_reply})
|
16 |
return ChatGPT_reply
|
17 |
|
18 |
+
demo = gr.Interface(
|
19 |
fn=CustomChatGPT,
|
20 |
inputs=gr.Textbox(label="Ask a question:", placeholder="E.g. What are gas fees?"),
|
21 |
outputs=gr.Textbox(label="Get a super simple answer:"),
|
22 |
+
css=".gradio-container {background-color: white}",
|
23 |
title="Web(GPT)3"
|
24 |
)
|
25 |
|