Update app.py
Browse files
app.py
CHANGED
@@ -152,7 +152,7 @@ index_html = """
|
|
152 |
<textarea id="negative_prompt" name="negative_prompt" rows="4" cols="50" placeholder="Enter negative prompt (optional)">(deformed, distorted, disfigured), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation, misspellings, typos</textarea><br><br>
|
153 |
|
154 |
<label for="width">Width:</label>
|
155 |
-
<input type="number" id="width" name="width" value="1024" min="64" max="2048" step="8"
|
156 |
<input type="range" id="width-slider" name="width-slider" min="64" max="2048" value="1024" step="8" style="width:250px; display: inline-block;" oninput="updateWidthInput()"><br><br>
|
157 |
|
158 |
<label for="height">Height:</label>
|
|
|
152 |
<textarea id="negative_prompt" name="negative_prompt" rows="4" cols="50" placeholder="Enter negative prompt (optional)">(deformed, distorted, disfigured), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation, misspellings, typos</textarea><br><br>
|
153 |
|
154 |
<label for="width">Width:</label>
|
155 |
+
<input type="number" id="width" name="width" value="1024" min="64" max="2048" step="8" " oninput="syncWidth(this.value)">
|
156 |
<input type="range" id="width-slider" name="width-slider" min="64" max="2048" value="1024" step="8" style="width:250px; display: inline-block;" oninput="updateWidthInput()"><br><br>
|
157 |
|
158 |
<label for="height">Height:</label>
|