Picture to 3D Carving

I am trying to implement the app on my PC.

I have near zero experience with Python, but I was able to install all the components.
I am not sure how to feed the input parameters. It seems it want to use HuggingFace.

I get the following messages.

C:\Software\ImageToRelief>python app.py
Warning: You are sending unauthenticated requests to the HF Hub. Please set a HF_TOKEN to enable higher rate limits and faster downloads.
Loading weights: 100%|████████████████████████████████████████████████████████████| 503/503 [00:00<00:00, 23508.11it/s]
Model loaded successfully.
Traceback (most recent call last):
File “C:\Software\ImageToRelief\app.py”, line 141, in
with gr.Blocks(theme=‘base’) as demo:
^^^^^^^^^
AttributeError: module ‘gradio’ has no attribute ‘Blocks’

Please point me, educate me !

My goal is a command line app, no websites.

EDIT:

Hang on, found the button_click

This is awesome look forward to playing around with it

What format does the image need to be. I received a photo thats an HEIC file that I tried loading and it gave me an error.

Carbide Create Pro imports BMP, JPEG, PNG, and TIFF (the latter in beta only):

It accepts PNG format.

This topic was automatically closed after 30 days. New replies are no longer allowed.