Skip to content
This repository has been archived by the owner on Jan 14, 2025. It is now read-only.

Commit

Permalink
Update API endpoint in ChatGPTModel
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepeshKalura committed Feb 10, 2024
1 parent 729b219 commit e2a9ec2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/response.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def generate_response(self, message: str) -> str:

class ChatGPTModel(Model):
def generate_response(self, user_message: str) -> str:
response = requests.post("https://healix-chatgpt-model.onrender.com/model", json= {
response = requests.post("http://20.219.168.47/model", json= {
"input_text" : user_message
})
result = response.json()
Expand Down Expand Up @@ -78,3 +78,4 @@ def user_input(user_question):

return response


0 comments on commit e2a9ec2

Please sign in to comment.