Update app.py
Browse files14 unmodified lines15161718192021222324252614 unmodified linesmessages.append({"role": "assistant", "content": ChatGPT_reply})return ChatGPT_replyDemo = gr.Interface(fn=CustomChatGPT,inputs=gr.Textbox(label="Ask a question:", placeholder="E.g. What are gas fees?"),outputs=gr.Textbox(label="Answer:"),title="")Demo.launch()14 unmodified lines15161718192021222324252614 unmodified linesmessages.append({"role": "assistant", "content": ChatGPT_reply})return ChatGPT_replyWebGPT3 = gr.Interface(fn=CustomChatGPT,inputs=gr.Textbox(label="Ask a question:", placeholder="E.g. What are gas fees?"),outputs=gr.Textbox(label="Answer:"),title="")WebGPT3.launch()
app.py+2-2