Web3Daily commited on
Commit
73ed7a3
1 Parent(s): b6662c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -15,12 +15,13 @@ def CustomChatGPT(Question):
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="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()
26
 
 
15
  messages.append({"role": "assistant", "content": ChatGPT_reply})
16
  return ChatGPT_reply
17
 
18
+ WebGPT3 = 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
+ theme="huggingface",
23
  title="Web(GPT)3"
24
  )
25
 
26
+ WebGPT3.launch()
27