Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -99,7 +99,7 @@ if st.button("Generate Summary"):
|
|
99 |
with st.spinner("Generating content..."):
|
100 |
try:
|
101 |
# Run the blog agent with the given prompt
|
102 |
-
result =
|
103 |
# Display the generated blog content
|
104 |
st.subheader("Generated Summary:")
|
105 |
st.write(result)
|
|
|
99 |
with st.spinner("Generating content..."):
|
100 |
try:
|
101 |
# Run the blog agent with the given prompt
|
102 |
+
result = sql_agent.run(prompt)
|
103 |
# Display the generated blog content
|
104 |
st.subheader("Generated Summary:")
|
105 |
st.write(result)
|