DigiP-AI commited on
Commit
dd10eaa
Β·
verified Β·
1 Parent(s): 66234ae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -159,7 +159,7 @@ with gr.Blocks(theme=theme, css=css) as app:
159
  # Add a title to the app
160
  gr.HTML("<center><h1>🎨 Stable Diffusion 3.5 Large Turbo + πŸ‡¬πŸ‡§</h1></center>")
161
  with gr.Tabs() as tabs:
162
- with gr.TabItem(label="Image To Prompt", visible=True):
163
  with gr.Row():
164
  with gr.Column():
165
  input_img = gr.Image(label="Input Picture πŸ–ΌοΈ",height=320,type="filepath")
@@ -171,7 +171,7 @@ with gr.Blocks(theme=theme, css=css) as app:
171
 
172
  submit_btn.click(feifeichat, [input_img], [output_text])
173
 
174
- with gr.TabItem("Text to Image", visible=True):
175
  # Container for all the UI elements
176
  with gr.Column(elem_id="app-container"):
177
  # Add a text input for the main prompt
 
159
  # Add a title to the app
160
  gr.HTML("<center><h1>🎨 Stable Diffusion 3.5 Large Turbo + πŸ‡¬πŸ‡§</h1></center>")
161
  with gr.Tabs() as tabs:
162
+ with gr.TabItem(label="πŸ–Ό Image To Prompt πŸ“„", visible=True):
163
  with gr.Row():
164
  with gr.Column():
165
  input_img = gr.Image(label="Input Picture πŸ–ΌοΈ",height=320,type="filepath")
 
171
 
172
  submit_btn.click(feifeichat, [input_img], [output_text])
173
 
174
+ with gr.TabItem("✍️ Text to Image πŸ–Ό", visible=True):
175
  # Container for all the UI elements
176
  with gr.Column(elem_id="app-container"):
177
  # Add a text input for the main prompt