Spaces:
Sleeping
Sleeping
| def generate_basic_code(task): | |
| """Generate basic code templates - TEMPORARY SIMPLE VERSION""" | |
| task_lower = task.lower() | |
| if 'drive' in task_lower or 'mount' in task_lower: | |
| return "```python\nfrom google.colab import drive\ndrive.mount('/content/gdrive')\n```" | |
| elif 'web' in task_lower or 'app' in task_lower: | |
| return "```python\nfrom fastapi import FastAPI\napp = FastAPI()\n@app.get('/')\ndef home(): return {'message': 'Hello'}\n```" | |
| else: | |
| return "```python\nprint('Hello from AumCore AI')\n```" |