Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -258,7 +258,7 @@ if st.sidebar.button("🔗 Analyze with IBM Granite"):
|
|
258 |
prompt = f"Define search criteria for projects to implement: {policy_input}"
|
259 |
|
260 |
# Get response from IBM
|
261 |
-
with st.
|
262 |
result = IBM_query(prompt, 0.7)
|
263 |
st.session_state["extended_query"] = "Find 3 projects that best match these criteria: " + result
|
264 |
else:
|
|
|
258 |
prompt = f"Define search criteria for projects to implement: {policy_input}"
|
259 |
|
260 |
# Get response from IBM
|
261 |
+
with st.spinner("Analyzing..."):
|
262 |
result = IBM_query(prompt, 0.7)
|
263 |
st.session_state["extended_query"] = "Find 3 projects that best match these criteria: " + result
|
264 |
else:
|