Spaces:
Runtime error
Runtime error
Alex
commited on
Commit
•
017cbcf
1
Parent(s):
cd219c9
Update app.py
Browse files
app.py
CHANGED
@@ -16,8 +16,8 @@ interface = gr.Interface(
|
|
16 |
fn=generate_prompt,
|
17 |
inputs=gr.inputs.Textbox(label="Prompt"),
|
18 |
outputs=gr.outputs.Textbox(label="Generated Text"),
|
19 |
-
title="Prompt Generator",
|
20 |
-
description="
|
21 |
layout="vertical",
|
22 |
examples=[
|
23 |
["Was sind die Auswirkungen des Klimawandels?"],
|
@@ -37,7 +37,7 @@ interface.layout = gr.Interface.Layout(
|
|
37 |
)
|
38 |
|
39 |
# Add text and image
|
40 |
-
interface.layout.add_component(gr.Interface.Text("
|
41 |
interface.layout.add_component(gr.Interface.Image("path/to/image.jpg", label="Example Image"))
|
42 |
|
43 |
interface.launch()
|
|
|
16 |
fn=generate_prompt,
|
17 |
inputs=gr.inputs.Textbox(label="Prompt"),
|
18 |
outputs=gr.outputs.Textbox(label="Generated Text"),
|
19 |
+
title="Hugging by Einfach.Prompt Generator",
|
20 |
+
description="Gebe Deinen Wunsch Prompt ein und schaue was er daraus macht",
|
21 |
layout="vertical",
|
22 |
examples=[
|
23 |
["Was sind die Auswirkungen des Klimawandels?"],
|
|
|
37 |
)
|
38 |
|
39 |
# Add text and image
|
40 |
+
interface.layout.add_component(gr.Interface.Text("Hugging by Einfach.Prompt Generator", label="Example Text"))
|
41 |
interface.layout.add_component(gr.Interface.Image("path/to/image.jpg", label="Example Image"))
|
42 |
|
43 |
interface.launch()
|