Web3Daily commited on
Commit
4e28820
1 Parent(s): a9e76f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def CustomChatGPT(Question):
15
  messages.append({"role": "assistant", "content": ChatGPT_reply})
16
  return ChatGPT_reply
17
 
18
- with gr.Blocks(css=".gradio-container {background-color: white}") as 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:"),
 
15
  messages.append({"role": "assistant", "content": ChatGPT_reply})
16
  return ChatGPT_reply
17
 
18
+ with gr.Blocks(css=".gradio-container {background-color: white}") as 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:"),