Skip to content

Commit

Permalink
fix:this commit should fix some issue
Browse files Browse the repository at this point in the history
  • Loading branch information
aiaug committed Jan 13, 2025
1 parent ba013fd commit 58ef5bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eve/tools/replicate_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ async def _create_prediction(self, args: dict, webhook=True):
return prediction

def get_webhook_url():
env = "api-web3-prod" if os.getenv("DB") == "PROD" else "api-web3-stage"
dev = "-dev" if os.getenv("DB") == "WEB#-STAGE" and os.getenv("MODAL_SERVE") == "1" else ""
env = "api-web3-prod" if os.getenv("DB") == "WEB3-PROD" else "api-web3-stage"
dev = "-dev" if os.getenv("DB") == "WEB3-STAGE" and os.getenv("MODAL_SERVE") == "1" else ""
webhook_url = f"https://edenartlab--{env}-fastapi-app{dev}.modal.run/update"
return webhook_url

Expand Down

0 comments on commit 58ef5bd

Please sign in to comment.