broadfield-dev commited on
Commit
f3a9fc2
·
verified ·
1 Parent(s): 6d31b28

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -291,6 +291,10 @@ def get_all_articles(category):
291
  except Exception as e:
292
  logger.error(f"Error fetching all articles for category {category}: {e}")
293
  return jsonify({"articles": [], "category": category}), 500
 
 
 
294
 
 
295
  if __name__ == "__main__":
296
  app.run(host="0.0.0.0", port=7860)
 
291
  except Exception as e:
292
  logger.error(f"Error fetching all articles for category {category}: {e}")
293
  return jsonify({"articles": [], "category": category}), 500
294
+ @app.route('/card')
295
+ def card_load():
296
+ return render_template("card.html")
297
 
298
+
299
  if __name__ == "__main__":
300
  app.run(host="0.0.0.0", port=7860)