Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception('API Error') #2

Open
miri4ever opened this issue Feb 16, 2025 · 1 comment
Open

Exception('API Error') #2

miri4ever opened this issue Feb 16, 2025 · 1 comment

Comments

@miri4ever
Copy link

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "M:\Pinokio-AI\api\ai-video-composer.git\app\env\lib\site-packages\gradio\queueing.py", line 622, in process_events
response = await route_utils.call_process_api(
File "M:\Pinokio-AI\api\ai-video-composer.git\app\env\lib\site-packages\gradio\route_utils.py", line 323, in call_process_api
output = await app.get_blocks().process_api(
File "M:\Pinokio-AI\api\ai-video-composer.git\app\env\lib\site-packages\gradio\blocks.py", line 2013, in process_api
result = await self.call_function(
File "M:\Pinokio-AI\api\ai-video-composer.git\app\env\lib\site-packages\gradio\blocks.py", line 1566, in call_function
prediction = await anyio.to_thread.run_sync( # type: ignore
File "M:\Pinokio-AI\api\ai-video-composer.git\app\env\lib\site-packages\anyio\to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
File "M:\Pinokio-AI\api\ai-video-composer.git\app\env\lib\site-packages\anyio_backends_asyncio.py", line 2461, in run_sync_in_worker_thread
return await future
File "M:\Pinokio-AI\api\ai-video-composer.git\app\env\lib\site-packages\anyio_backends_asyncio.py", line 962, in run
result = context.run(func, *args)
File "M:\Pinokio-AI\api\ai-video-composer.git\app\env\lib\site-packages\gradio\utils.py", line 846, in wrapper
response = f(*args, **kwargs)
File "M:\Pinokio-AI\api\ai-video-composer.git\app\app.py", line 250, in update
raise gr.Error(e)
gradio.exceptions.Error: Exception('API Error')

@gaktug
Copy link

gaktug commented Feb 23, 2025

Go to 'Configure' and change the 'BASE_URL' with the ip of your device.

from -> http://localhost:11434/v1 to -> http://192.168.1.XXX:11434/v1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants