Skip to content

Commit

Permalink
feat: fal run host
Browse files Browse the repository at this point in the history
  • Loading branch information
badayvedat committed Aug 29, 2024
1 parent cf6b9ce commit c1a054e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
import functools
import os

from fal_client.auth import MissingCredentialsError

from fal_client.auth import MissingCredentialsError, FAL_RUN_HOST

@functools.cache
def get_fal_config():
Expand All @@ -18,7 +17,7 @@ def get_fal_config():
def get_fal_endpoint():
config = get_fal_config()
endpoint = config["fal"]["application_name"]
return f"https://fal.run/{endpoint}"
return f"https://{FAL_RUN_HOST}/{endpoint}"


@functools.cache
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "comfyui-fal-connector"
description = "The ComfyUI-fal-Connector is a tool designed to provide an integration between ComfyUI and fal. This extension allows users to execute their ComfyUI workflows directly on [a/fal.ai](https://fal.ai/). This enables users to leverage the computational power and resources provided by fal.ai for running their ComfyUI workflows."
version = "1.0.0"
version = "1.0.1"
license = { file = "LICENSE" }
dependencies = ["fal-client>=0.3.0", "httpx", "httpx-sse", "fal"]

Expand Down

0 comments on commit c1a054e

Please sign in to comment.