Keshav-rejoice commited on
Commit
b9f3bcd
Β·
verified Β·
1 Parent(s): 7f07e2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -109,5 +109,5 @@ if uploaded_file is not None:
109
  ai_description = response.choices[0].message.content
110
  st.subheader("πŸ“ AI-Generated Defect Description")
111
  st.text_area("Output", value=ai_description.strip(), height=250)
112
- except Exception as e:
113
- st.error(f"❌ An error occurred while generating the description:\n{e}")
 
109
  ai_description = response.choices[0].message.content
110
  st.subheader("πŸ“ AI-Generated Defect Description")
111
  st.text_area("Output", value=ai_description.strip(), height=250)
112
+ except Exception as e:
113
+ st.error(f"❌ An error occurred while generating the description:\n{e}")