Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
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 |
+
|