mgokg commited on
Commit
60bc03e
·
verified ·
1 Parent(s): a1b442e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def take_screenshot(url):
30
  iface = gr.Interface(
31
  fn=take_screenshot,
32
  inputs=gr.Textbox(label="Website URL", value="https://kargaranamir.github.io"),
33
- outputs=gr.Image(type="pil", label="Screenshot", height=360, width=540), # Adjust the image size here
34
  title="Website Screenshot",
35
  description="Take a screenshot of a website."
36
  )
 
30
  iface = gr.Interface(
31
  fn=take_screenshot,
32
  inputs=gr.Textbox(label="Website URL", value="https://kargaranamir.github.io"),
33
+ outputs=gr.Textbox(),
34
  title="Website Screenshot",
35
  description="Take a screenshot of a website."
36
  )