Spaces:
Runtime error
Runtime error
Commit
·
f2fb29b
1
Parent(s):
cd88f9b
Update app.py
Browse files
app.py
CHANGED
|
@@ -99,12 +99,12 @@ with demo:
|
|
| 99 |
with gradio.Column():
|
| 100 |
input_text = gradio.Textbox(
|
| 101 |
label='Input Text',
|
| 102 |
-
value='
|
| 103 |
lines=3
|
| 104 |
)
|
| 105 |
run_button = gradio.Button(value='Generate Image').style(full_width=True)
|
| 106 |
output_image = gradio.Image(
|
| 107 |
-
value='
|
| 108 |
label='Output Image',
|
| 109 |
type='file',
|
| 110 |
interactive=False
|
|
@@ -161,18 +161,18 @@ with demo:
|
|
| 161 |
|
| 162 |
gradio.Examples(
|
| 163 |
examples=[
|
| 164 |
-
['Portrait of a basset hound, 8k, photograph', 3, '
|
| 165 |
-
['A diorama of Puppy cloud ,8k, photograph', 3, '
|
| 166 |
-
['A dragon that looks like a cream', 3, '
|
| 167 |
-
['A photo of a sleeping orange tabby cat', 3, '
|
| 168 |
-
['A diorama of a bunny family sitting around the table having dinner ,8k, photograph', 3, '
|
| 169 |
-
['A white cat with golden sunglasses on, pink background, studio lighting, 4k, award winning photography', 2, '
|
| 170 |
-
['an astronaut dancing on the moon’s surface, close-up photo', 2, '
|
| 171 |
-
['A photo of a Samoyed dog with its tongue out hugging a white Siamese cat', 5, '
|
| 172 |
-
['Dragons of Earth, Wind, Fire, powering up a huge sphere of compressed energy, digital art', 2, '
|
| 173 |
-
['A snowboarder jumping in the air while coming down a ski mountain, concept art, artstation, unreal engine, 3d render, HD, Bokeh', 3, '
|
| 174 |
-
['Antique photo of a dragon fire', 3, '
|
| 175 |
-
['A space parrot flying through the cosmos, digital art', 3, '
|
| 176 |
],
|
| 177 |
inputs=[
|
| 178 |
input_text,
|
|
|
|
| 99 |
with gradio.Column():
|
| 100 |
input_text = gradio.Textbox(
|
| 101 |
label='Input Text',
|
| 102 |
+
value='Portrait of a basset hound, 8k, photograph',
|
| 103 |
lines=3
|
| 104 |
)
|
| 105 |
run_button = gradio.Button(value='Generate Image').style(full_width=True)
|
| 106 |
output_image = gradio.Image(
|
| 107 |
+
value='8k dog.png',
|
| 108 |
label='Output Image',
|
| 109 |
type='file',
|
| 110 |
interactive=False
|
|
|
|
| 161 |
|
| 162 |
gradio.Examples(
|
| 163 |
examples=[
|
| 164 |
+
['Portrait of a basset hound, 8k, photograph', 3, '8k dog.png'],
|
| 165 |
+
['A diorama of Puppy cloud ,8k, photograph', 3, 'puppy.png'],
|
| 166 |
+
['A dragon that looks like a cream', 3, 'cream.png'],
|
| 167 |
+
['A photo of a sleeping orange tabby cat', 3, 'tabby.png'],
|
| 168 |
+
['A diorama of a bunny family sitting around the table having dinner ,8k, photograph', 3, 'table.png'],
|
| 169 |
+
['A white cat with golden sunglasses on, pink background, studio lighting, 4k, award winning photography', 2, 'cat.png'],
|
| 170 |
+
['an astronaut dancing on the moon’s surface, close-up photo', 2, 'astronaut.png'],
|
| 171 |
+
['A photo of a Samoyed dog with its tongue out hugging a white Siamese cat', 5, 'dog.png'],
|
| 172 |
+
['Dragons of Earth, Wind, Fire, powering up a huge sphere of compressed energy, digital art', 2, 'dragon.png'],
|
| 173 |
+
['A snowboarder jumping in the air while coming down a ski mountain, concept art, artstation, unreal engine, 3d render, HD, Bokeh', 3, 'snow.png'],
|
| 174 |
+
['Antique photo of a dragon fire', 3, 'fire.png'],
|
| 175 |
+
['A space parrot flying through the cosmos, digital art', 3, 'parrot.png'],
|
| 176 |
],
|
| 177 |
inputs=[
|
| 178 |
input_text,
|