MartinKosela commited on
Commit
207ae76
1 Parent(s): 2328160

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -80,6 +80,11 @@ if st.session_state.rec_model_pressed:
80
  if description:
81
  recommended_model = recommend_ai_model_via_gpt(description)
82
 
 
 
 
 
 
83
  st.subheader(f"Recommended AI Model: {recommended_model}")
84
  explanation = explain_recommendation(recommended_model)
85
  st.write("Reason:", explanation)
 
80
  if description:
81
  recommended_model = recommend_ai_model_via_gpt(description)
82
 
83
+ # Validate recommended model
84
+ # Commenting out model validation for the example
85
+ # if recommended_model not in KNOWN_MODELS:
86
+ # st.warning("The recommendation is ambiguous. Please refine your description or consult an expert.")
87
+ # else:
88
  st.subheader(f"Recommended AI Model: {recommended_model}")
89
  explanation = explain_recommendation(recommended_model)
90
  st.write("Reason:", explanation)