pratikshahp commited on
Commit
93fe64b
·
verified ·
1 Parent(s): c637aee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -8
app.py CHANGED
@@ -127,14 +127,13 @@ def process_ticket(issue_description: str):
127
  response = result.get("response", "No response generated")
128
  escalation = result.get("escalation", "No escalation specified")
129
  mermaid_code = graph.get_graph().draw_mermaid()
130
-
131
- return (
132
- response,
133
- escalation,
134
- "## Mermaid Graph",
135
- "Check out this [mermaid link](https://mermaid.live/) to display a graph with the following data",
136
- f"```mermaid\n{mermaid_code}\n```"
137
- )
138
  except Exception as e:
139
  return f"Error occurred: {e}", "Unable to determine escalation"
140
 
 
127
  response = result.get("response", "No response generated")
128
  escalation = result.get("escalation", "No escalation specified")
129
  mermaid_code = graph.get_graph().draw_mermaid()
130
+ return (
131
+ response,
132
+ escalation,
133
+ "## Mermaid Graph",
134
+ "Check out this [mermaid link](https://mermaid.live/) to display a graph with the following data",
135
+ f"```mermaid\n{mermaid_code}\n```"
136
+ )
 
137
  except Exception as e:
138
  return f"Error occurred: {e}", "Unable to determine escalation"
139