HAKORADev commited on
Commit
bf42635
·
verified ·
1 Parent(s): 0c6c980

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -642,24 +642,24 @@ with gr.Blocks(title="Klarity") as demo:
642
  Klarity
643
  </h1>
644
  <p style="text-align:center;margin:0 0 .6rem;color:#a0a0a0;font-size:.95rem;line-height:1.5;">
645
- AI-Powered Image &amp; Video Restoration &middot; Denoise, Deblur, Upscale &amp; Frame Generation
646
  </p>
647
  <p style="text-align:center;margin:0 0 .4rem;color:#666;font-size:.82rem;">
648
- Lite mode &middot; For the full experience with Heavy models and GPU support, see the
649
  <a href="https://github.com/HAKORADev/Klarity" target="_blank" rel="noopener" style="color:#4CAF50;">desktop app</a>.
650
  </p>
651
  """
652
  )
653
  gr.Markdown("---")
654
 
655
- upload = gr.File(label="Upload Image or Video", file_types=["image", "video"])
656
 
657
  file_info_md = gr.Markdown("", elem_id="file-info")
658
 
659
  mode_dd = gr.Dropdown(
660
- VIDEO_MODES,
661
  label="Processing Mode",
662
- value=VIDEO_MODES[0],
663
  interactive=True,
664
  )
665
 
 
642
  Klarity
643
  </h1>
644
  <p style="text-align:center;margin:0 0 .6rem;color:#a0a0a0;font-size:.95rem;line-height:1.5;">
645
+ AI-Powered Image Restoration &middot; Denoise, Deblur &amp; Upscale
646
  </p>
647
  <p style="text-align:center;margin:0 0 .4rem;color:#666;font-size:.82rem;">
648
+ Lite mode &middot; For the full experience with <b>Video Support</b>, Heavy models and GPU, see the
649
  <a href="https://github.com/HAKORADev/Klarity" target="_blank" rel="noopener" style="color:#4CAF50;">desktop app</a>.
650
  </p>
651
  """
652
  )
653
  gr.Markdown("---")
654
 
655
+ upload = gr.File(label="Upload Image", file_types=["image"])
656
 
657
  file_info_md = gr.Markdown("", elem_id="file-info")
658
 
659
  mode_dd = gr.Dropdown(
660
+ IMAGE_MODES,
661
  label="Processing Mode",
662
+ value=IMAGE_MODES[0],
663
  interactive=True,
664
  )
665