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