Code Monkey home page Code Monkey logo

dallecli's Introduction

Hi ๐Ÿ‘‹, I'm Raiyan Yahya

I am very passionate about building products and trying out new things. I have around 10 years of experience into IT consulting and product development, working across domains such as Telecom, Supply Chain, Ecommerce, Advertising and Automotive. Experience in building, architecting, designing, and implementing distributed global cloud-based systems. Lots of production experience with AWS and a certified solution architect. I also train and give live lectures online on various technical education platforms like Edureka.com.

raiyanyahya

  • ๐Ÿ‘ฏ Iโ€™m looking to collaborate on anything cool and minimal.

  • ๐Ÿ‘จโ€๐Ÿ’ป All of my projects are available at https://github.com/raiyanyahya

  • ๐Ÿ’ฌ Ask me about AWS, Docker, Python, CI CD, GithubOps, APIs and Backend Engineering.

  • ๐Ÿ—ž I also publish a newsletter which brings you great findings from across the internet. Subscribe to it https://kuration.substack.com .

  • ๐Ÿ“ซ How to reach me [email protected]

Languages and Tools:

python aws docker express firebase flask gcp git go jenkins mongodb mysql nginx nodejs opencv postgresql redis scikit_learn

dallecli's People

Contributors

dependabot[bot] avatar raiyanyahya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dallecli's Issues

wide images

As of now, only square images can be generated by dallecli. How about allowing for wide images as documented

namespace dalle {
// Create images from a text-only prompt.
type text2im = (_: {
// The resolution of the requested image, which can be wide, square, or tall. Use 1024x1024 (square) as the default unless the prompt suggests a wide image, 1792x1024, or a full-body portrait, in which case 1024x1792 (tall) should be used instead. Always include this parameter in the request.
size?: "1792x1024" | "1024x1024" | "1024x1792",
// The user's original image description, potentially modified to abide by the dalle policies. If the user does not suggest a number of captions to create, create four of them. If creating multiple captions, make them as diverse as possible. If the user requested modifications to previous images, the captions should not simply be longer, but rather it should be refactored to integrate the suggestions into each of the captions. Generate no more than 4 images, even if the user requests more.
prompts: string[],
// A list of seeds to use for each prompt. If the user asks to modify a previous image, populate this field with the seed used to generate that image from the image dalle metadata.
seeds?: number[], }) => any;
} // namespace dalle.

read variable OPENAI_API_KEY

Is your feature request related to a problem? Please describe.
I am trying to automate setup of dallecli for termux and the only thing needing manual input is the setup of an API key, because the update command only allows interactive usage.

I see 2 solutions for this:

  1. allow to provide the api key directly from commandline dallecli update myapikey
  2. read OPENAI_API_KEY variable to update configuration automaticaly if not present.

make opening images optional

How about an option to suppress the immediate opening of the generated image, in particular with many iterations? Instead, the paths could be given, or a (temp) directory containing them.

Possible bug or a misleading typo

Hi, just started using this cli tool, and i have encountered this issue, don't know if it's because of the prompt in the size, but any time I try to put a specific size, outputs me an error. This have happened with any prompt I gave to it. Maybe I need to put more parameters, I would like to have some help with this

Prompt

dallecli generate --prompt 'my prompt' --size '1920x1080' # A size example

Output

Failed to generate image. Please try again with a different prompt.

Image viewer opens without any file

I don't know how dallecli opens the image viewer. It seems to use my default application for images (qimgv).
But qimgv always opens without any actual image.

I am actually not sure what is causing this, but i suspect it's not properly telling the path to the image?

Also: maybe it would be a nice addition if one could specify an image viewer to use.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.