Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ if not API_KEY:
|
|
| 12 |
raise ValueError("Hugging Face API key not found. Please set the 'APIHUGGING' secret.")
|
| 13 |
|
| 14 |
# Initialize Hugging Face Inference Client
|
| 15 |
-
client = InferenceClient(
|
| 16 |
|
| 17 |
# Function to extract text from various file types
|
| 18 |
def extract_file_content(file_path):
|
|
|
|
| 12 |
raise ValueError("Hugging Face API key not found. Please set the 'APIHUGGING' secret.")
|
| 13 |
|
| 14 |
# Initialize Hugging Face Inference Client
|
| 15 |
+
client = InferenceClient(api_key=API_KEY, model="Qwen/Qwen2.5-Coder-32B-Instruct")
|
| 16 |
|
| 17 |
# Function to extract text from various file types
|
| 18 |
def extract_file_content(file_path):
|