-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(gui): add user model management and flux models
- Implement user-added model functionality with add/delete options - Replace recent models with Flux fine-tune models - Refactor ImageGenerator to ReplicateAPI for clarity - Remove token counter and update UI layout
- Loading branch information
Showing
4 changed files
with
78 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import replicate | ||
from dotenv import load_dotenv | ||
|
||
load_dotenv() | ||
print(replicate.paginate(replicate.collections.list)) | ||
collections = [ | ||
collection | ||
for page in replicate.paginate(replicate.collections.list) | ||
for collection in page | ||
] | ||
|
||
print(replicate.collections.get("flux-fine-tunes").models) |