Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -229,11 +229,7 @@ async def main():
|
|
229 |
examples=examples,
|
230 |
theme="default"
|
231 |
).launch()
|
232 |
-
|
233 |
-
# Simple testing framework
|
234 |
-
def run_tests():
|
235 |
-
"""Run basic tests for the CodeFusion components."""
|
236 |
-
|
237 |
async def test_code_generation():
|
238 |
tool = CodeGenerationTool()
|
239 |
result = await tool.run({"language": "python", "code_description": "function to add two numbers"})
|
|
|
229 |
examples=examples,
|
230 |
theme="default"
|
231 |
).launch()
|
232 |
+
|
|
|
|
|
|
|
|
|
233 |
async def test_code_generation():
|
234 |
tool = CodeGenerationTool()
|
235 |
result = await tool.run({"language": "python", "code_description": "function to add two numbers"})
|