Spaces:
Running
Little Help
That's fine, but because of the time difference, it's 00:14 here. I'll be going to sleep soon.πͺ
Sure
Did you solve it?
No yet
Where is it stuck?
In download models, maybe you can also improve the generate image option
Ah, you're trying to generate an image. I think that with this method, it would take more than 10 minutes to generate it because the free CPU space wouldn't be powerful enough. To begin with, I don't think stablepy was designed to be used for generating images on the CPU.
On the other hand, if you use the Serverless Inference API of HF via gr.load(), you basically need to have already requested the model during the demo startup process, so it's not suitable for downloading a new model and trying it out... Switching models is not supported. If you know the model in advance, you can manage.
I see
Maybe you can also help fix this out @John6666
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/gradio/queueing.py", line 536, in process_events
response = await route_utils.call_process_api(
File "/usr/local/lib/python3.10/site-packages/gradio/route_utils.py", line 322, in call_process_api
output = await app.get_blocks().process_api(
File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1945, in process_api
data = await self.postprocess_data(block_fn, result["prediction"], state)
File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1770, in postprocess_data
outputs_cached = await processing_utils.async_move_files_to_cache(
File "/usr/local/lib/python3.10/site-packages/gradio/processing_utils.py", line 485, in async_move_files_to_cache
return await client_utils.async_traverse(
File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 999, in async_traverse
return await func(json_obj)
File "/usr/local/lib/python3.10/site-packages/gradio/processing_utils.py", line 460, in _move_to_cache
temp_file_path = await block.async_move_resource_to_block_cache(
File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 308, in async_move_resource_to_block_cache
temp_file_path = processing_utils.save_file_to_cache(
File "/usr/local/lib/python3.10/site-packages/gradio/processing_utils.py", line 250, in save_file_to_cache
temp_dir = hash_file(file_path)
File "/usr/local/lib/python3.10/site-packages/gradio/processing_utils.py", line 182, in hash_file
with open(file_path, "rb") as f:
IsADirectoryError: [Errno 21] Is a directory: '/home/user/app'
https://github.com/gradio-app/gradio/issues/8265
From that error message, it looks like it's just a Gradio error...
It seems to happen when the path to be passed is blank. What kind of situation caused that error?
I don't know
Well...
At least tell me which button you pressed. It's difficult to debug if I can't reproduce it.
and goodnight.πͺsee you tomorrow.
I pressed Download Base Model and Download lora.
This should work.πͺ