Lokesh Lal Majhi commited on
Commit
f9ec5fd
·
1 Parent(s): a5560de

Update Pilgr-image bot.py

Browse files
Files changed (1) hide show
  1. Pilgr-image bot.py +0 -2
Pilgr-image bot.py CHANGED
@@ -13,5 +13,3 @@ def CustomChatGPT(user_input):
13
  ChatGPT_reply = response["choices"][0]["message"]["content"]
14
  messages.append({"role": "assistant", "content": ChatGPT_reply})
15
  return ChatGPT_reply
16
- demo = gradio.Interface(fn=CustomChatGPT, inputs = "text", outputs = "text", title = "Your Pilgr-image Bot")
17
- demo.launch(share=True)
 
13
  ChatGPT_reply = response["choices"][0]["message"]["content"]
14
  messages.append({"role": "assistant", "content": ChatGPT_reply})
15
  return ChatGPT_reply