pandora-s commited on
Commit
7821572
Β·
verified Β·
1 Parent(s): 302b56d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ def get_available_free():
54
  models_conclusion["API"].append("Free" if chat_available or text_available else ("Pro Subscription" if pro_sub else "Not Responding"))
55
  models_conclusion["Chat Completion"].append("---" if (pro_sub or (not chat_available and not text_available)) else ("βœ“" if chat_available else "βŒ€"))
56
  models_conclusion["Text Completion"].append("---" if (pro_sub or (not chat_available and not text_available)) else ("βœ“" if text_available else "βŒ€"))
57
- models_conclusion["Vision"].append("---" if (pro_sub or (not chat_available and not text_available)) else ("βœ“" if vision_available else "βŒ€"))
58
  pd.DataFrame(models_conclusion).to_csv("data.csv", index=False)
59
  return models_conclusion
60
 
 
54
  models_conclusion["API"].append("Free" if chat_available or text_available else ("Pro Subscription" if pro_sub else "Not Responding"))
55
  models_conclusion["Chat Completion"].append("---" if (pro_sub or (not chat_available and not text_available)) else ("βœ“" if chat_available else "βŒ€"))
56
  models_conclusion["Text Completion"].append("---" if (pro_sub or (not chat_available and not text_available)) else ("βœ“" if text_available else "βŒ€"))
57
+ models_conclusion["Vision"].append("βœ“" if vision_available else "βŒ€")
58
  pd.DataFrame(models_conclusion).to_csv("data.csv", index=False)
59
  return models_conclusion
60