Kastg commited on
Commit
9cc018a
·
verified ·
1 Parent(s): d2c73a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -30,6 +30,10 @@ def index():
30
  def ai():
31
  return send_from_directory(os.path.join(static_dir, 'views'), 'ai.html')
32
 
 
 
 
 
33
  @app.route('/info')
34
  def info():
35
  ip = request.remote_addr
 
30
  def ai():
31
  return send_from_directory(os.path.join(static_dir, 'views'), 'ai.html')
32
 
33
+ @app.route('/ai/<path:filename>')
34
+ def ai():
35
+ return send_from_directory(os.path.join(static_dir, 'ai'), filename)
36
+
37
  @app.route('/info')
38
  def info():
39
  ip = request.remote_addr