Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -82,6 +82,10 @@ class {}Tool(Tool):
|
|
| 82 |
with open(f"{tool_name}/{tool_name}.py", "w") as text_generator_py_file:
|
| 83 |
text_generator_py_file.write(text_generator_py_content)
|
| 84 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 85 |
# Upload the folder to the Hugging Face Hub
|
| 86 |
upload_folder(
|
| 87 |
folder_path=tool_name,
|
|
|
|
| 82 |
with open(f"{tool_name}/{tool_name}.py", "w") as text_generator_py_file:
|
| 83 |
text_generator_py_file.write(text_generator_py_content)
|
| 84 |
|
| 85 |
+
create_repo{
|
| 86 |
+
repo_id=f"Chris4K/{tool_name}",
|
| 87 |
+
repo_type="space"
|
| 88 |
+
}
|
| 89 |
# Upload the folder to the Hugging Face Hub
|
| 90 |
upload_folder(
|
| 91 |
folder_path=tool_name,
|