Stability-AI / stability-sdk

SDK for interacting with stability.ai APIs (e.g. stable diffusion inference)
https://platform.stability.ai/
MIT License
2.42k stars 340 forks source link

A problem with the name for some reason #234

Closed MotorCityCobra closed 1 year ago

MotorCityCobra commented 1 year ago

C:\Program Files\Microsoft Visual Studio\2022\Community>python -m stability_sdk animate --gui Please enter your API key from dreamstudio.ai or set the STABILITY_KEY environment variable to skip this prompt. Enter your Stability API key: C:\Users\ooo\AppData\Local\Programs\Python\Python311\Lib\site-packages\stability_sdk\animation_ui.py:161: UserWarning: You have unused kwarg parameters in HTML, please remove them: {'show_progress': False} header = gr.HTML("", show_progress=False) Running on local URL: http://127.0.0.1:7860

To create a public link, set share=True in launch(). Traceback (most recent call last): File "C:\Users\ooo\AppData\Local\Programs\Python\Python311\Lib\site-packages\gradio\routes.py", line 414, in run_predict output = await app.get_blocks().process_api( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ooo\AppData\Local\Programs\Python\Python311\Lib\site-packages\gradio\blocks.py", line 1323, in process_api result = await self.call_function( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ooo\AppData\Local\Programs\Python\Python311\Lib\site-packages\gradio\blocks.py", line 1051, in call_function prediction = await anyio.to_thread.run_sync( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ooo\AppData\Local\Programs\Python\Python311\Lib\site-packages\anyio\to_thread.py", line 31, in run_sync return await get_asynclib().run_sync_in_worker_thread( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ooo\AppData\Local\Programs\Python\Python311\Lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread return await future ^^^^^^^^^^^^ File "C:\Users\ooo\AppData\Local\Programs\Python\Python311\Lib\site-packages\anyio_backends_asyncio.py", line 867, in run result = context.run(func, *args) ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ooo\AppData\Local\Programs\Python\Python311\Lib\site-packages\stability_sdk\animation_ui.py", line 403, in project_create raise gr.Error(f"Project with title '{title}' already exists") gradio.exceptions.Error: "Project with title 'What is AI, What is Intelligence video' already exists"

pharmapsychotic commented 1 year ago

Hey @MotorCityCobra 👋 The animation notebook keeps your renders organized in project folders in the output directory. This error is saying that you already have an animation project with that same name so you just need to pick a different name for your new project.