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

how to using custom picture? #101

Closed
hnuzhoulin opened this issue Jun 29, 2023 · 1 comment
Closed

how to using custom picture? #101

hnuzhoulin opened this issue Jun 29, 2023 · 1 comment

Comments

@hnuzhoulin
Copy link

when I upload a image,errors:

Registering hook for: b256
Traceback (most recent call last):
  File "/home/zhoulin/miniconda3/envs/draggan/lib/python3.7/site-packages/gradio/routes.py", line 444, in run_predict
    event_data=event_data,
  File "/home/zhoulin/miniconda3/envs/draggan/lib/python3.7/site-packages/gradio/blocks.py", line 1347, in process_api
    fn_index, inputs, iterator, request, event_id, event_data
  File "/home/zhoulin/miniconda3/envs/draggan/lib/python3.7/site-packages/gradio/blocks.py", line 1075, in call_function
    fn, *processed_input, limiter=self.limiter
  File "/home/zhoulin/miniconda3/envs/draggan/lib/python3.7/site-packages/anyio/to_thread.py", line 34, in run_sync
    func, *args, cancellable=cancellable, limiter=limiter
  File "/home/zhoulin/miniconda3/envs/draggan/lib/python3.7/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread
    return await future
  File "/home/zhoulin/miniconda3/envs/draggan/lib/python3.7/site-packages/anyio/_backends/_asyncio.py", line 807, in run
    result = context.run(func, *args)
  File "/home/zhoulin/OpenGVLab-DragGAN/draggan/web.py", line 184, in on_image_change
    result = inverse_image(
NameError: name 'inverse_image' is not defined

@hnuzhoulin
Copy link
Author

the same with #100 closed

@hnuzhoulin hnuzhoulin closed this as not planned Won't fix, can't repro, duplicate, stale Jun 29, 2023
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

1 participant