Code Monkey home page Code Monkey logo

wombopy's People

Contributors

atomic-junky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

cleancoindev

wombopy's Issues

KeyError: 'display_freq'

Prompt: love Style: 3
Starting...
Google identification sign up.
=> idToken got.
Google identification look up.
=> localId got.
Identification done!
Status: pending
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Python311\Lib\site-packages\wombopy_main
.py", line 9, in
main()
File "C:\Python311\Lib\site-packages\wombopy_main
.py", line 5, in main
cli.app(prog_name=app_name)
File "C:\Python311\Lib\site-packages\typer\main.py", line 214, in call
return get_command(self)(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\click\core.py", line 1130, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\click\core.py", line 1055, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\click\core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\click\core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\click\core.py", line 760, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\typer\main.py", line 500, in wrapper
return callback(**use_params) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\wombopy\cli.py", line 37, in run
img_uri = create(res["id_token"], prompt, style)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\wombopy\core\generation.py", line 63, in create
display_freq = r.json()["input_spec"]["display_freq"] / 10
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
KeyError: 'display_freq'

Small guide to retrieve the style?

First of all, thanks a lot for this module! It's really nice given the fact that unfortunately Wombo doesn't have an automatic way to download its images...

I already have seen the other issues but I'm able to retrieve the style id in order to use it in the CLI to properly get an image. Would you please give me some hints, maybe a small screenshot to see how can I retrieve it?

P.D: Thanks a lot!

identify_key

Hi,

Can you please explain identify_key? Is the a requirement to have access to the Wombo API or something else?

How do I integrate this in my python code?

Like I want to get the URL according to the inputs given by the user,
python -m wombopy run 94TEYzpZ7bbWJR4PAf9KGrXnjzW2 "death" 3 --show
In the above line of command, I want to use it with my python project and I want the URL according to the input given by the user like the
prompt- "death"
type-3
So how do I do this? I hope you will respond to the issue.
Thanks

How to use

Excuse me, how to use it.... I only know that it is cli, and I need steps from beginning to end. I am new to py

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.