KeerthiVM commited on
Commit
7c805fd
·
unverified ·
1 Parent(s): 1cc68c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def call_inference_image(fileobj, scale: int = 2):
23
  with gr.Blocks() as demo:
24
  gr.Markdown("# API-based Upscaler (calls HF Inference API)")
25
  with gr.Row():
26
- inp = gr.Image(type="file", label="Upload image")
27
  scale = gr.Slider(2, 8, value=2, step=1, label="Scale (requested)")
28
  out_img = gr.Image(label="Result")
29
  latency = gr.Textbox(label="Latency")
 
23
  with gr.Blocks() as demo:
24
  gr.Markdown("# API-based Upscaler (calls HF Inference API)")
25
  with gr.Row():
26
+ inp = gr.Image(type="filepath", label="Upload image")
27
  scale = gr.Slider(2, 8, value=2, step=1, label="Scale (requested)")
28
  out_img = gr.Image(label="Result")
29
  latency = gr.Textbox(label="Latency")