Shilpaj commited on
Commit
b9c42f6
·
1 Parent(s): 667d3b7

Refactor: css file address

Browse files
Dockerfile CHANGED
@@ -20,7 +20,7 @@ RUN pip install --no-cache-dir -r requirements.txt
20
  COPY . .
21
 
22
  # Create necessary directories and ensure proper permissions
23
- RUN mkdir -p data/MNIST/raw scripts/training/models \
24
  && chmod -R 755 static \
25
  && chmod -R 755 templates \
26
  && chown -R nobody:nogroup static templates
 
20
  COPY . .
21
 
22
  # Create necessary directories and ensure proper permissions
23
+ RUN mkdir -p data/ scripts/training/models \
24
  && chmod -R 755 static \
25
  && chmod -R 755 templates \
26
  && chown -R nobody:nogroup static templates
templates/index.html CHANGED
@@ -4,7 +4,7 @@
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
  <title>MNIST Digit Classification</title>
7
- <link rel="stylesheet" href="{{ url_for('static', path='/css/style.css') }}">
8
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
9
  </head>
10
  <body>
 
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
  <title>MNIST Digit Classification</title>
7
+ <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
8
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
9
  </head>
10
  <body>
templates/inference.html CHANGED
@@ -4,7 +4,7 @@
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
  <title>Test Model - MNIST</title>
7
- <link rel="stylesheet" href="{{ url_for('static', path='/css/style.css') }}">
8
  <!-- <link rel="stylesheet" href="{{ url_for('static', path='/css/buttons.css') }}"> -->
9
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
10
  </head>
 
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
  <title>Test Model - MNIST</title>
7
+ <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
8
  <!-- <link rel="stylesheet" href="{{ url_for('static', path='/css/buttons.css') }}"> -->
9
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
10
  </head>
templates/train.html CHANGED
@@ -4,7 +4,7 @@
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
  <title>Train Models - MNIST</title>
7
- <link rel="stylesheet" href="{{ url_for('static', path='/css/style.css') }}">
8
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Roboto+Mono&display=swap" rel="stylesheet">
9
  </head>
10
  <body>
 
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
  <title>Train Models - MNIST</title>
7
+ <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
8
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Roboto+Mono&display=swap" rel="stylesheet">
9
  </head>
10
  <body>
templates/train_compare.html CHANGED
@@ -4,8 +4,8 @@
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
  <title>Compare Models - MNIST</title>
7
- <link rel="stylesheet" href="{{ url_for('static', path='/css/style.css') }}">
8
- <script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
9
  </head>
10
  <body>
11
  <div class="container">
 
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
  <title>Compare Models - MNIST</title>
7
+ <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
8
+ <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Roboto+Mono&display=swap" rel="stylesheet">
9
  </head>
10
  <body>
11
  <div class="container">
templates/train_single.html CHANGED
@@ -4,8 +4,8 @@
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
  <title>Train Single Model - MNIST</title>
7
- <link rel="stylesheet" href="{{ url_for('static', path='/css/style.css') }}">
8
- <script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
9
  </head>
10
  <body>
11
  <div class="container">
 
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
  <title>Train Single Model - MNIST</title>
7
+ <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
8
+ <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Roboto+Mono&display=swap" rel="stylesheet">
9
  </head>
10
  <body>
11
  <div class="container">