mukaist commited on
Commit
2915579
·
verified ·
1 Parent(s): 82a5ea6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -11
app.py CHANGED
@@ -249,14 +249,10 @@ css = """
249
  }
250
  """
251
 
252
- title = """<h1 align="center">Diffusers Image Outpaint</h1>
253
- <div align="center">Drop an image you would like to extend, pick your expected ratio and hit Generate.</div>
254
  <div style="display: flex; justify-content: center; align-items: center; text-align: center;">
255
- <p style="display: flex;gap: 6px;">
256
- <a href="https://huggingface.co/spaces/fffiloni/diffusers-image-outpout?duplicate=true">
257
- <img src="https://huggingface.co/datasets/huggingface/badges/resolve/main/duplicate-this-space-md.svg" alt="Duplicate this Space">
258
- </a> to skip the queue and enjoy faster inference on the GPU of your choice
259
- </p>
260
  </div>
261
  """
262
 
@@ -268,14 +264,14 @@ with gr.Blocks(css=css) as demo:
268
  with gr.Column():
269
  input_image = gr.Image(
270
  type="pil",
271
- label="Input Image"
272
  )
273
 
274
  with gr.Row():
275
  with gr.Column(scale=2):
276
- prompt_input = gr.Textbox(label="Prompt (Optional)")
277
  with gr.Column(scale=1):
278
- run_button = gr.Button("Generate")
279
 
280
  with gr.Row():
281
  target_ratio = gr.Radio(
@@ -291,7 +287,7 @@ with gr.Blocks(css=css) as demo:
291
  label="Alignment"
292
  )
293
 
294
- with gr.Accordion(label="Advanced settings", open=False) as settings_panel:
295
  with gr.Column():
296
  with gr.Row():
297
  width_slider = gr.Slider(
 
249
  }
250
  """
251
 
252
+ title = """<h1 align="center">Yapay Zeka ile Resim Alan Oluştur</h1>
253
+ <div align="center">Genişletmek istediğiniz bir görseli bırakın, istediğiniz oranı seçin ve Oluştur'a tıklayın.</div>
254
  <div style="display: flex; justify-content: center; align-items: center; text-align: center;">
255
+
 
 
 
 
256
  </div>
257
  """
258
 
 
264
  with gr.Column():
265
  input_image = gr.Image(
266
  type="pil",
267
+ label="Resim Yükle"
268
  )
269
 
270
  with gr.Row():
271
  with gr.Column(scale=2):
272
+ prompt_input = gr.Textbox(label="İstem (İsteğe bağlı)")
273
  with gr.Column(scale=1):
274
+ run_button = gr.Button("Oluştur")
275
 
276
  with gr.Row():
277
  target_ratio = gr.Radio(
 
287
  label="Alignment"
288
  )
289
 
290
+ with gr.Accordion(label="Gelişmiş ayarlar", open=False) as settings_panel:
291
  with gr.Column():
292
  with gr.Row():
293
  width_slider = gr.Slider(