Update app.py
Browse files
app.py
CHANGED
@@ -160,11 +160,11 @@ with gr.Blocks(theme=theme, css=css) as app:
|
|
160 |
# Add a title to the app
|
161 |
gr.HTML("<center><h1>π¨ Stable Diffusion 3.5 Large Turbo + π¬π§</h1></center>")
|
162 |
# with gr.Tabs() as tabs:
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
with gr.Column():
|
169 |
output_text = gr.Textbox(label="Flux Prompt βοΈ", show_copy_button = True)
|
170 |
clr_button =gr.Button("Clear ποΈ ",variant="primary", elem_id="clear_button")
|
|
|
160 |
# Add a title to the app
|
161 |
gr.HTML("<center><h1>π¨ Stable Diffusion 3.5 Large Turbo + π¬π§</h1></center>")
|
162 |
# with gr.Tabs() as tabs:
|
163 |
+
with gr.Tab(label="πΌ Image To Prompt π", visible=True):
|
164 |
+
with gr.Row():
|
165 |
+
with gr.Column():
|
166 |
+
input_img = gr.Image(label="Input Picture πΌοΈ",height=320,type="filepath")
|
167 |
+
submit_btn = gr.Button(value="Submit", variant='primary')
|
168 |
with gr.Column():
|
169 |
output_text = gr.Textbox(label="Flux Prompt βοΈ", show_copy_button = True)
|
170 |
clr_button =gr.Button("Clear ποΈ ",variant="primary", elem_id="clear_button")
|