Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ def generate(plain_text):
|
|
20 |
return res
|
21 |
|
22 |
txt = grad.Textbox(lines=1, label="Initial Text", placeholder="Input Prompt")
|
23 |
-
out = grad.Textbox(lines=
|
24 |
examples = ["A rabbit is wearing a space suit", "Several railroad tracks with one train passing by", "The roof is wet from the rain", "Cats dancing in a space club"]
|
25 |
|
26 |
grad.Interface(fn=generate,
|
|
|
20 |
return res
|
21 |
|
22 |
txt = grad.Textbox(lines=1, label="Initial Text", placeholder="Input Prompt")
|
23 |
+
out = grad.Textbox(lines=4, label="Optimized Prompt")
|
24 |
examples = ["A rabbit is wearing a space suit", "Several railroad tracks with one train passing by", "The roof is wet from the rain", "Cats dancing in a space club"]
|
25 |
|
26 |
grad.Interface(fn=generate,
|