Skip to content

Commit

Permalink
Update server_config.yaml (#22)
Browse files Browse the repository at this point in the history
* Update server_config.yaml

* Update prompt_agent.py

str issue on prod
  • Loading branch information
anshulg954 authored May 17, 2024
1 parent 3ce554b commit a845e04
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion tabpfn_client/prompt_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def prompt_and_set_token(cls, user_auth_handler: "UserAuthenticationClient"):
is_created, message = user_auth_handler.set_token_by_registration(
email, password, password_confirm, validation_link, additional_info)
if not is_created:
raise RuntimeError("User registration failed: " + message + "\n")
raise RuntimeError("User registration failed: " + str(message) + "\n")

print(cls.indent("Account created successfully!") + "\n")

Expand Down
14 changes: 7 additions & 7 deletions tabpfn_client/server_config.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
## testing
protocol: "http"
host: "localhost"
port: "8080"
# protocol: "http"
# host: "localhost"
# port: "8080"

# production
#protocol: "https"
#host: "tabpfn-server-wjedmz7r5a-ez.a.run.app"
#host: tabpfn-server-preprod-wjedmz7r5a-ez.a.run.app # preprod
#port: "443"
protocol: "https"
host: "tabpfn-server-wjedmz7r5a-ez.a.run.app"
# host: tabpfn-server-preprod-wjedmz7r5a-ez.a.run.app # preprod
port: "443"
endpoints:
root:
path: "/"
Expand Down

0 comments on commit a845e04

Please sign in to comment.