Spaces:
Sleeping
Sleeping
Arbazkhan-cs
commited on
Commit
•
18e3524
1
Parent(s):
cd9971c
Update app.py
Browse files
app.py
CHANGED
@@ -101,7 +101,7 @@ def index2():
|
|
101 |
result = agent_executor.invoke({"input": query})["output"]
|
102 |
except Exception as e:
|
103 |
result = str(e)
|
104 |
-
wrapped_result = wrap_text_preserve_code(result, max_line_length=
|
105 |
return render_template('index2.html', result=wrapped_result)
|
106 |
|
107 |
return render_template('index2.html')
|
|
|
101 |
result = agent_executor.invoke({"input": query})["output"]
|
102 |
except Exception as e:
|
103 |
result = str(e)
|
104 |
+
wrapped_result = wrap_text_preserve_code(result, max_line_length=105)
|
105 |
return render_template('index2.html', result=wrapped_result)
|
106 |
|
107 |
return render_template('index2.html')
|