Gaautamm commited on
Commit
7e4f24b
1 Parent(s): b14c539

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -16,5 +16,6 @@ def CustomChatGPT(user_input):
16
  messages.append({"role": "assistant", "content": ChatGPT_reply})
17
  return ChatGPT_reply
18
 
19
- # Define your Gradio interface here without specifying custom ports
20
- gr.Interface(fn=CustomChatGPT, inputs="text", outputs="text", title="Medical Device Regulation Chat Bot").launch(share=True)
 
 
16
  messages.append({"role": "assistant", "content": ChatGPT_reply})
17
  return ChatGPT_reply
18
 
19
+ # Define your Gradio interface here with custom port range
20
+ gr.Interface(fn=CustomChatGPT, inputs="text", outputs="text", title="Medical Device Regulation Chat Bot").launch(share=True, port=8888, websocket_port=8889)
21
+