Spaces:
Sleeping
Sleeping
wony617
commited on
Commit
·
769eab6
1
Parent(s):
8957aec
Create pr as draft pr
Browse files- pr_generator/agent.py +1 -1
pr_generator/agent.py
CHANGED
|
@@ -522,7 +522,7 @@ Please return only the commit message. No other explanation is needed."""
|
|
| 522 |
|
| 523 |
# Create PR from fork to upstream repository
|
| 524 |
pr_result = self.create_pull_request(
|
| 525 |
-
"huggingface", "transformers", pr_title, f"{owner}:{branch_name}", base_branch, pr_body
|
| 526 |
)
|
| 527 |
|
| 528 |
if pr_result.startswith("ERROR"):
|
|
|
|
| 522 |
|
| 523 |
# Create PR from fork to upstream repository
|
| 524 |
pr_result = self.create_pull_request(
|
| 525 |
+
"huggingface", "transformers", pr_title, f"{owner}:{branch_name}", base_branch, pr_body, draft=True
|
| 526 |
)
|
| 527 |
|
| 528 |
if pr_result.startswith("ERROR"):
|