Update app.py
Browse files
app.py
CHANGED
@@ -40,8 +40,8 @@ examples = [
|
|
40 |
|
41 |
title = "ViPE: Visualize Pretty-much Everything"
|
42 |
description = 'ViPE is the first automated model for translating any arbitrary piece of text into a visualizable prompt. It helps any text-to-image model in figurative or non-lexical language visualizations. To learn more about the model, [click here](https://huggingface.co/fittar/ViPE-M-CTX7).<br>'
|
43 |
-
txt =
|
44 |
-
out =
|
45 |
|
46 |
demo = gr.Interface(
|
47 |
fn =generate,
|
@@ -50,6 +50,7 @@ demo = gr.Interface(
|
|
50 |
examples=examples,
|
51 |
title=title,
|
52 |
description=description,
|
|
|
53 |
)
|
54 |
|
55 |
-
demo.launch(share=True)
|
|
|
40 |
|
41 |
title = "ViPE: Visualize Pretty-much Everything"
|
42 |
description = 'ViPE is the first automated model for translating any arbitrary piece of text into a visualizable prompt. It helps any text-to-image model in figurative or non-lexical language visualizations. To learn more about the model, [click here](https://huggingface.co/fittar/ViPE-M-CTX7).<br>'
|
43 |
+
txt = gr.Textbox(lines=1, label="Initial Text", placeholder="Arbitrary Input Text")
|
44 |
+
out = gr.Textbox(lines=4, label="Generated Prompt for Visualizations")
|
45 |
|
46 |
demo = gr.Interface(
|
47 |
fn =generate,
|
|
|
50 |
examples=examples,
|
51 |
title=title,
|
52 |
description=description,
|
53 |
+
theme="default"
|
54 |
)
|
55 |
|
56 |
+
demo.launch(share=True,enable_queue=True, debug=True)
|