Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -64,6 +64,7 @@ def query(prompt, negative_prompt="", steps=35, cfg_scale=7, sampler="DPM++ 2M K
|
|
64 |
|
65 |
# HTML template for the index page (unchanged)
|
66 |
index_html = """
|
|
|
67 |
<!DOCTYPE html>
|
68 |
<html lang="ja">
|
69 |
<head>
|
@@ -188,7 +189,6 @@ index_html = """
|
|
188 |
<img id="generated-image" src="" alt="Generated Image" style="max-width: 100%; height: auto; display: none;">
|
189 |
</body>
|
190 |
</html>
|
191 |
-
|
192 |
"""
|
193 |
|
194 |
@app.route('/')
|
@@ -222,3 +222,4 @@ def generate_image():
|
|
222 |
|
223 |
if __name__ == "__main__":
|
224 |
app.run(host='0.0.0.0', port=7860)
|
|
|
|
64 |
|
65 |
# HTML template for the index page (unchanged)
|
66 |
index_html = """
|
67 |
+
|
68 |
<!DOCTYPE html>
|
69 |
<html lang="ja">
|
70 |
<head>
|
|
|
189 |
<img id="generated-image" src="" alt="Generated Image" style="max-width: 100%; height: auto; display: none;">
|
190 |
</body>
|
191 |
</html>
|
|
|
192 |
"""
|
193 |
|
194 |
@app.route('/')
|
|
|
222 |
|
223 |
if __name__ == "__main__":
|
224 |
app.run(host='0.0.0.0', port=7860)
|
225 |
+
|