Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ def generate_flutter_code(prompt, api_token=None):
|
|
| 13 |
return "Error: Hugging Face API token is required. Please provide it in the input field or set HF_TOKEN environment variable."
|
| 14 |
|
| 15 |
# Qwen 3 0.6B model for code generation
|
| 16 |
-
model_id = "Qwen/
|
| 17 |
|
| 18 |
# Enhanced prompt for Flutter/Dart code generation
|
| 19 |
enhanced_prompt = f"""You are an expert Flutter/Dart developer. Generate high-quality, production-ready Flutter/Dart code based on the following description. Include proper error handling, state management, and follow Flutter best practices.
|
|
|
|
| 13 |
return "Error: Hugging Face API token is required. Please provide it in the input field or set HF_TOKEN environment variable."
|
| 14 |
|
| 15 |
# Qwen 3 0.6B model for code generation
|
| 16 |
+
model_id = "Qwen/Qwen-0.6B"
|
| 17 |
|
| 18 |
# Enhanced prompt for Flutter/Dart code generation
|
| 19 |
enhanced_prompt = f"""You are an expert Flutter/Dart developer. Generate high-quality, production-ready Flutter/Dart code based on the following description. Include proper error handling, state management, and follow Flutter best practices.
|