atomic-junky / wombopy Goto Github PK
View Code? Open in Web Editor NEWA cli to generate wombo.art images
A cli to generate wombo.art images
i try install colab
!git clone https://github.com/holy-crusader-py/wombopy.git
!pip install wombopy
Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
ERROR: Could not find a version that satisfies the requirement wombopy (from versions: none)
ERROR: No matching distribution found for wombopy
/usr/bin/python3: No module named wombopy
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'
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!
How do I know the number art style I want?
Hi,
Can you please explain identify_key? Is the a requirement to have access to the Wombo API or something else?
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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.