Saad4web commited on
Commit
b4aada4
·
verified ·
1 Parent(s): 517a968

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +4 -18
index.html CHANGED
@@ -157,27 +157,13 @@
157
  <h1>Pix2Pix Image Translation</h1>
158
 
159
  <div class="file-input-wrapper">
160
- <input type="file" id="modelInput" accept=".json">
161
- <label for="modelInput" class="file-input-label">
162
- 🧠 Upload Model JSON
163
  </label>
164
  </div>
165
 
166
- <div class="file-input-wrapper">
167
- <input type="file" id="weightsInput" accept=".bin" multiple>
168
- <label for="weightsInput" class="file-input-label">
169
- ⚖️ Upload Weight Files (.bin)
170
- </label>
171
- </div>
172
-
173
- <div class="file-input-wrapper" style="margin-bottom: 30px;">
174
- <input type="file" id="fileInput" accept="image/*" disabled>
175
- <label for="fileInput" class="file-input-label" style="opacity: 0.5;">
176
- 📸 Upload Image (Load model first)
177
- </label>
178
- </div>
179
-
180
- <div id="status" class="loading">Please upload model files (model.json and .bin files) to begin</div>
181
 
182
  <div class="canvas-container">
183
  <div class="canvas-wrapper">
 
157
  <h1>Pix2Pix Image Translation</h1>
158
 
159
  <div class="file-input-wrapper">
160
+ <input type="file" id="fileInput" accept="image/*">
161
+ <label for="fileInput" class="file-input-label">
162
+ 📸 Upload Image
163
  </label>
164
  </div>
165
 
166
+ <div id="status" class="loading">Initializing TensorFlow.js and loading model...</div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
167
 
168
  <div class="canvas-container">
169
  <div class="canvas-wrapper">