Update app.py
Browse files
app.py
CHANGED
|
@@ -29,20 +29,20 @@ def generate(starting_text):
|
|
| 29 |
if response_end != "":
|
| 30 |
return response_end
|
| 31 |
|
| 32 |
-
with grad.Blocks(css='css') as demo:
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
with grad.Column(elem_id="col-container"):
|
| 47 |
with grad.Row(variant="compact"):
|
| 48 |
txt = grad.Textbox(
|
|
|
|
| 29 |
if response_end != "":
|
| 30 |
return response_end
|
| 31 |
|
| 32 |
+
#with grad.Blocks(css='css') as demo:
|
| 33 |
+
# grad.HTML(
|
| 34 |
+
# """
|
| 35 |
+
# <div style="text-align: center; max-width: 650px; margin: 0 auto;">
|
| 36 |
+
# <div>
|
| 37 |
+
# <h5 style="font-weight: 900; font-size: 3rem; margin-bottom:20px;">
|
| 38 |
+
# Our Prompt Generator!
|
| 39 |
+
# </h5><h5>Input a prompt idea and watch it preform a great prompt</h5>
|
| 40 |
+
# </div>
|
| 41 |
|
| 42 |
+
# </p>
|
| 43 |
+
# </div>
|
| 44 |
+
# """
|
| 45 |
+
# )
|
| 46 |
with grad.Column(elem_id="col-container"):
|
| 47 |
with grad.Row(variant="compact"):
|
| 48 |
txt = grad.Textbox(
|