Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | 
         @@ -59,7 +59,7 @@ class CodeGenerationTool(Tool): 
     | 
|
| 59 | 
         
             
                    # This is a simplified example, real implementation would use a code generation model
         
     | 
| 60 | 
         
             
                    language = arguments.get("language", "python")
         
     | 
| 61 | 
         
             
                    code = arguments.get("code", "print('Hello, World!')")
         
     | 
| 62 | 
         
            -
                    return {"output": f"""{language}{code}"""
         
     | 
| 63 | 
         | 
| 64 | 
         
             
            class DataRetrievalTool(Tool):
         
     | 
| 65 | 
         
             
                def __init__(self):
         
     | 
| 
         | 
|
| 59 | 
         
             
                    # This is a simplified example, real implementation would use a code generation model
         
     | 
| 60 | 
         
             
                    language = arguments.get("language", "python")
         
     | 
| 61 | 
         
             
                    code = arguments.get("code", "print('Hello, World!')")
         
     | 
| 62 | 
         
            +
                    return {"output": f"""{language}{code}"""}
         
     | 
| 63 | 
         | 
| 64 | 
         
             
            class DataRetrievalTool(Tool):
         
     | 
| 65 | 
         
             
                def __init__(self):
         
     |