Update app.py
Browse files
app.py
CHANGED
|
@@ -109,7 +109,7 @@ def migrate_app_generator(space_url):
|
|
| 109 |
]
|
| 110 |
|
| 111 |
# Call Moonshot Model
|
| 112 |
-
yield log("🧠 Analyzing code with
|
| 113 |
|
| 114 |
try:
|
| 115 |
completion = client.chat.completions.create(
|
|
@@ -152,7 +152,7 @@ def migrate_app_generator(space_url):
|
|
| 152 |
"This PR migrates the Space to Gradio 6.0.\n\n"
|
| 153 |
"### Changes\n"
|
| 154 |
"- `README.md`: Updated `sdk_version` to `6.0.0`\n"
|
| 155 |
-
f"- `{app_file_name}`: Automated refactoring using `
|
| 156 |
)
|
| 157 |
|
| 158 |
# Create PR
|
|
|
|
| 109 |
]
|
| 110 |
|
| 111 |
# Call Moonshot Model
|
| 112 |
+
yield log("🧠 Analyzing code with zai-org/GLM-4.6 (this may take ~30s)..."), ""
|
| 113 |
|
| 114 |
try:
|
| 115 |
completion = client.chat.completions.create(
|
|
|
|
| 152 |
"This PR migrates the Space to Gradio 6.0.\n\n"
|
| 153 |
"### Changes\n"
|
| 154 |
"- `README.md`: Updated `sdk_version` to `6.0.0`\n"
|
| 155 |
+
f"- `{app_file_name}`: Automated refactoring using `zai-org/GLM-4.6` based on the migration guide."
|
| 156 |
)
|
| 157 |
|
| 158 |
# Create PR
|