Skip to content

Hugging Face चैनल जोड़ना

शुरू करने से पहले क्या चाहिए

सिर्फ तीन चीज़ें चाहिए:

ज़रूरतउपयोग
Hugging Face accountaccess token generate करने और repository own करने के लिए।
Hugging Face User Access TokenImgBed को Hugging Face API access, repositories create और files upload करने के लिए।
Repository nameकेवल repository name डाल सकते हैं, जैसे image

Setup Steps

Step 1: Hugging Face में sign in करें और Access Token बनाएँ

  1. Hugging Face में sign in करें।
  2. ऊपर दाएँ avatar पर क्लिक करके Settings खोलें।
  3. left sidebar से Access Tokens खोलें।
  4. नया token बनाएँ।
  5. token को पहचानने लायक नाम दें।
  6. write permission चुनें।
  7. token बनते ही उसे copy और save करें।

Token बनाएँ

Step 2: ImgBed में Hugging Face channel भरें

Upload Settings में Hugging Face चुनने के बाद fields ऐसे भरें:

UI Fieldक्या डालें
Channel nameआपका चुना हुआ नाम, जैसे hf-primary
Repository nameshort repo name जैसे image, या full path जैसे username/image
Access Tokenअभी बनाया गया Hugging Face User Access Token।
Private repositoryअपनी ज़रूरत के हिसाब से on या off करें।
Remarkoptional, जैसे Primary upload channel

Channel जोड़ें

Step 3: Channel save करें

fields भरने के बाद Save पर क्लिक करें।

system ये details अपने आप संभालेगा:

System BehaviorDescription
Short repository nameImgBed current Hugging Face account पहचानता है और value को full repository path में बदलता है।
Full repository pathImgBed username/repository path को जैसा डाला गया है वैसा ही use करता है।
Repository checkcurrent personal account path use होने पर ImgBed repository न हो तो create करने की कोशिश करता है। full path manually डालने पर वही path directly use करता है।
Repository typeयह channel dataset repository use करता है।
Public/private staterepository visibility current switch के अनुसार sync होती है।

Quick Checklist

text
Hugging Face में sign in करें
-> Access Token बनाएँ
-> write permission चुनें
-> ImgBed में लौटकर token और repository name डालें
-> Save
-> केवल repo name डालने पर ImgBed current username automatically जोड़ता है
-> username/repo डालने पर ImgBed उसे जैसा है वैसा use करता है
-> ImgBed dataset repository check या create करता है
-> test image upload करें

Released as user documentation for CloudFlare ImgBed.