Web3Daily commited on
Commit
241c805
1 Parent(s): 28ea98c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -15,11 +15,12 @@ def CustomChatGPT(Question):
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="Ask a question:", placeholder="E.g. What are gas fees?"),
21
- outputs=gr.Textbox(label="Answer:")
 
22
  )
23
 
24
- WebGPT3.launch()
25
 
 
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="Answer:"),
22
+ title="Web(GPT)3"
23
  )
24
 
25
+ Demo.launch()
26