mirror of
https://github.com/gradio-app/gradio.git
synced 2024-11-21 01:01:05 +08:00
Update client.py (#6524)
This commit is contained in:
parent
228d9d9f43
commit
c59b87d7b5
@ -253,7 +253,7 @@ class Client:
|
||||
)
|
||||
hardware = hardware or original_info.hardware
|
||||
if current_hardware != hardware:
|
||||
huggingface_hub.request_space_hardware(space_id, hardware) # type: ignore
|
||||
huggingface_hub.request_space_hardware(space_id, hardware, token=hf_token) # type: ignore
|
||||
print(
|
||||
f"-------\nNOTE: this Space uses upgraded hardware: {hardware}... see billing info at https://huggingface.co/settings/billing\n-------"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user