Spaces:
Runtime error
Runtime error
ShuangLI59
commited on
Commit
β’
2442693
1
Parent(s):
85c6a20
update
Browse files
app.py
CHANGED
@@ -196,6 +196,9 @@ def compose_language_descriptions(prompt):
|
|
196 |
# prompt = "a camel | a forest" #@param{type: 'string'}
|
197 |
# out_img = compose_language_descriptions(prompt)
|
198 |
|
|
|
|
|
|
|
199 |
import gradio as gr
|
200 |
-
gr.Interface(fn=compose_language_descriptions, inputs='text', outputs='image').launch();
|
201 |
|
|
|
196 |
# prompt = "a camel | a forest" #@param{type: 'string'}
|
197 |
# out_img = compose_language_descriptions(prompt)
|
198 |
|
199 |
+
examples = ['a camel | a forest', 'A cloudy blue sky | A mountain in the horizon | Cherry Blossoms in front of the mountain']
|
200 |
+
|
201 |
+
|
202 |
import gradio as gr
|
203 |
+
gr.Interface(fn=compose_language_descriptions, inputs='text', outputs='image', examples=examples).launch();
|
204 |
|