Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -53,13 +53,14 @@ with gr.Blocks() as demo:
|
|
53 |
with gr.Row(): # Use a Row to place the prompt input and the button side by side
|
54 |
prompt_input = gr.Textbox(
|
55 |
label="Enter Your Prompt",
|
|
|
56 |
placeholder="Type your prompt for image generation here",
|
57 |
lines=1, # Set the input to be only one line tall
|
58 |
interactive=True # Allow user to interact with the textbox
|
59 |
)
|
60 |
|
61 |
# Change the button text to "RUN:" and align it with the prompt input
|
62 |
-
run_button = gr.Button("RUN"
|
63 |
|
64 |
# Output image display area
|
65 |
output_image = gr.Image(label="Generated Image")
|
|
|
53 |
with gr.Row(): # Use a Row to place the prompt input and the button side by side
|
54 |
prompt_input = gr.Textbox(
|
55 |
label="Enter Your Prompt",
|
56 |
+
show_label = "False",
|
57 |
placeholder="Type your prompt for image generation here",
|
58 |
lines=1, # Set the input to be only one line tall
|
59 |
interactive=True # Allow user to interact with the textbox
|
60 |
)
|
61 |
|
62 |
# Change the button text to "RUN:" and align it with the prompt input
|
63 |
+
run_button = gr.Button("RUN")
|
64 |
|
65 |
# Output image display area
|
66 |
output_image = gr.Image(label="Generated Image")
|