Spaces:
Sleeping
Sleeping
Update app.py
Browse files11 unmodified lines1213141516171811 unmodified linesraise ValueError("Hugging Face API key not found. Please set the 'APIHUGGING' secret.")# Initialize Hugging Face Inference Clientclient = InferenceClient(api_token=API_KEY, model="Qwen/Qwen2.5-Coder-32B-Instruct")# Function to extract text from various file typesdef extract_file_content(file_path):11 unmodified lines1213141516171811 unmodified linesraise ValueError("Hugging Face API key not found. Please set the 'APIHUGGING' secret.")# Initialize Hugging Face Inference Clientclient = InferenceClient(api_key=API_KEY, model="Qwen/Qwen2.5-Coder-32B-Instruct")# Function to extract text from various file typesdef extract_file_content(file_path):
app.py+1-1