matterattetatte commited on
Commit
7dbebbe
·
verified ·
1 Parent(s): 0dd6b64

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -40,14 +40,14 @@ st.write("Generate reports enriched with real-time insights using the AI Veterin
40
  prompt = st.text_area("Enter the description of your patient visit:", placeholder="E.g., What is the latest research findings on cancer in horses?")
41
 
42
  # Button to generate blog content
43
- if st.button("Generate Report"):
44
  if prompt:
45
- with st.spinner("Generating blog content..."):
46
  try:
47
  # Run the blog agent with the given prompt
48
  result = manager_agent.run(prompt)
49
  # Display the generated blog content
50
- st.subheader("Generated Report:")
51
  st.write(result)
52
 
53
  # Log backend activity
 
40
  prompt = st.text_area("Enter the description of your patient visit:", placeholder="E.g., What is the latest research findings on cancer in horses?")
41
 
42
  # Button to generate blog content
43
+ if st.button("Generate Summary"):
44
  if prompt:
45
+ with st.spinner("Generating content..."):
46
  try:
47
  # Run the blog agent with the given prompt
48
  result = manager_agent.run(prompt)
49
  # Display the generated blog content
50
+ st.subheader("Generated Summary:")
51
  st.write(result)
52
 
53
  # Log backend activity