Downloads · 30 days
0
Tafar/Omeck
Omeck is a text generation model from Tafar. Use it when you need the model to write or continue text. The card lists the license as afl-3.0.
Downloads · 30 days
0
Access
Public
Updated Nov 23, 2023
Repo size
—
Likes
0
Public
Click a slice to open those files.
Other1.5 KB · 73%
From the Hugging Face model README
import requests
API_URL = "https://api-inference.huggingface.co/models/openai/whisper-large-v3" headers = {"Authorization": "Bearer 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"}
def query(filename): with open(filename, "rb") as f: data = f.read() response = requests.post(API_URL, headers=headers, data=data) return response.json()
output = query("sample1.flac")