Spaces:
Runtime error
Runtime error
Update app.html
Browse files
app.html
CHANGED
@@ -6,3 +6,15 @@
|
|
6 |
<body>
|
7 |
<h1>Text to Image Generator</h1>
|
8 |
<form method="POST
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
<body>
|
7 |
<h1>Text to Image Generator</h1>
|
8 |
<form method="POST
|
9 |
+
<label for="text">Enter text:</label>
|
10 |
+
<br>
|
11 |
+
<textarea id="text" name="text" rows="5" cols="50"></textarea>
|
12 |
+
<br>
|
13 |
+
<input type="submit" value="Generate Image">
|
14 |
+
</form>
|
15 |
+
<br>
|
16 |
+
{% if image %}
|
17 |
+
<img src="{{ url_for('text_to_image') }}" alt="Generated Image">
|
18 |
+
{% endif %}
|
19 |
+
</body>
|
20 |
+
</html>
|