Spaces:
Runtime error
Runtime error
Update app.py
Browse files7 unmodified lines891011121314157 unmodified linesimport black # Add black import# Initialize the inference clientclient = InferenceClient(api_key=os.getenv("HF_TOKEN"), # Make sure to set this environment variable)# Load questions from Hugging Face dataset7 unmodified lines891011121314151617181920212223247 unmodified linesimport black # Add black import# Initialize the inference clientfrom openai import OpenAIclient = OpenAI(base_url="https://router.huggingface.co/hf-inference/v1", # Update this lineapi_key="YOUR_HF_TOKEN")# Use the latest model versionresponse = client.chat.completions.create(model="Qwen/Qwen3.5-Coder-32B-Instruct",messages=[{"role": "user", "content": "Explain your fine-tuning process."}])# Load questions from Hugging Face dataset
app.py+11-2