dreamdrop-art commited on
Commit
8275b94
1 Parent(s): 19aa4f9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -652,7 +652,7 @@ with gr.Blocks(css=css) as demo:
652
  swap_button = gr.Button(value="Swap")
653
  with gr.Row():
654
  swaped_result = gr.Gallery(show_label=False, rows=2, preview=True)
655
- swaped_past = gr.Textbox(visiable=False, interactive=False)
656
  swap_button.click(face_swaper, inputs=[source_image, target_image], outputs=[swaped_result, swaped_past])
657
  with gr.Tab("Prompt Generator"):
658
  gpt2_pipe = pipeline('text-generation', model='Gustavosta/MagicPrompt-Stable-Diffusion', tokenizer='gpt2')
 
652
  swap_button = gr.Button(value="Swap")
653
  with gr.Row():
654
  swaped_result = gr.Gallery(show_label=False, rows=2, preview=True)
655
+ swaped_past = gr.Textbox(visible=False, interactive=False)
656
  swap_button.click(face_swaper, inputs=[source_image, target_image], outputs=[swaped_result, swaped_past])
657
  with gr.Tab("Prompt Generator"):
658
  gpt2_pipe = pipeline('text-generation', model='Gustavosta/MagicPrompt-Stable-Diffusion', tokenizer='gpt2')