Spaces:
Runtime error
Runtime error
feat: content
Browse files
app.py
CHANGED
|
@@ -51,7 +51,7 @@ def generate_changeset_id():
|
|
| 51 |
return f"changeset_{timestamp}_{str(uuid.uuid4())[:8]}"
|
| 52 |
|
| 53 |
def generate_liquibase_changeset(user_prompt, existing_changelog, author_name, context_env):
|
| 54 |
-
"""Generate a new
|
| 55 |
|
| 56 |
changeset_id = generate_changeset_id()
|
| 57 |
|
|
@@ -164,8 +164,8 @@ def create_interface_alternative():
|
|
| 164 |
fn=process_changeset_request,
|
| 165 |
inputs=inputs,
|
| 166 |
outputs=outputs,
|
| 167 |
-
title="🔄
|
| 168 |
-
description="Describe your database change in plain English, and get a production-ready
|
| 169 |
examples=[
|
| 170 |
[
|
| 171 |
"Add a column named 'email' of type VARCHAR(255) to the users table",
|
|
@@ -226,8 +226,8 @@ def create_interface():
|
|
| 226 |
lines=20,
|
| 227 |
show_copy_button=True
|
| 228 |
),
|
| 229 |
-
title="🔄
|
| 230 |
-
description="Describe your database change in plain English, and get a production-ready
|
| 231 |
examples=[
|
| 232 |
[
|
| 233 |
"Add a column named 'email' of type VARCHAR(255) to the users table",
|
|
|
|
| 51 |
return f"changeset_{timestamp}_{str(uuid.uuid4())[:8]}"
|
| 52 |
|
| 53 |
def generate_liquibase_changeset(user_prompt, existing_changelog, author_name, context_env):
|
| 54 |
+
"""Generate a new changeset based on user description"""
|
| 55 |
|
| 56 |
changeset_id = generate_changeset_id()
|
| 57 |
|
|
|
|
| 164 |
fn=process_changeset_request,
|
| 165 |
inputs=inputs,
|
| 166 |
outputs=outputs,
|
| 167 |
+
title="🔄 Harness Database Changelog Generator",
|
| 168 |
+
description="Describe your database change in plain English, and get a production-ready changelog",
|
| 169 |
examples=[
|
| 170 |
[
|
| 171 |
"Add a column named 'email' of type VARCHAR(255) to the users table",
|
|
|
|
| 226 |
lines=20,
|
| 227 |
show_copy_button=True
|
| 228 |
),
|
| 229 |
+
title="🔄 Harness Database DevOps Changelog Generator",
|
| 230 |
+
description="Describe your database change in plain English, and get a production-ready changelog",
|
| 231 |
examples=[
|
| 232 |
[
|
| 233 |
"Add a column named 'email' of type VARCHAR(255) to the users table",
|