AI Hub HF

by talent-active-devco.huggingface.talent-active-dev/ai-hub-hf

  • Remote endpoint
  • 10 tools

Tools

  • ai_hub_hf_current_quota Report today's GPU consumption against the free daily allowance.
  • ai_hub_hf_delete_job_ui Delete a stored job from the UI.
  • ai_hub_hf_get_job_json Fetch a stored job by id or share link; returns the job as a JSON string. This is the shareable endpoint — the payload survives a page reload, so the original audio and translation can be replayed without spending GPU quota again.
  • ai_hub_hf_get_job_links Return the shareable page URL and JSON API URL for a stored job.
  • ai_hub_hf_get_job_srt Download the stored translation of a job as an SRT subtitle file.
  • ai_hub_hf_show_job Look up a stored job by id or share link and return it as JSON.
  • ai_hub_hf_show_job_on_enter Same lookup, wired to Enter-key submit (separate name so Gradio does not duplicate it).
  • ai_hub_hf_transcribe_audio Transcribe audio into segments with word-level timestamps. Returns {"segments", "words", "text", "job_id", "quota"}. The upload is kept under /data/jobs/<job_id>/ so get_job_json(job_id) can replay the result after a page reload without uploading again or spending more GPU quota. If a user passes a file as an input, use the upload_file_to_gradio tool, if present, to upload the file to the gradio app and create a Gradio File Input. Then use the returned path as the input to the tool
  • ai_hub_hf_translate_json Translate segments from a JSON payload into Persian, preserving every timing field. Accepts either {"segments": [...]} or a bare list of segments, where each segment has at least "text" and ideally "start"/"end". Returns the same structure with the original text kept under "source_text" and the translation under "text".
  • ai_hub_hf_translate_json_1 Translate segments from a JSON payload into Persian, preserving every timing field. Accepts either {"segments": [...]} or a bare list of segments, where each segment has at least "text" and ideally "start"/"end". Returns the same structure with the original text kept under "source_text" and the translation under "text".

As the server's own listing gives them. We never call a tool.