kargaranamir commited on
Commit
20e60cb
1 Parent(s): 87db630
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -26,8 +26,8 @@ def take_screenshot(url):
26
 
27
  iface = gr.Interface(
28
  fn=take_screenshot,
29
- inputs=gr.Textbox(label="Website URL", default="https://kargaranamir.github.io"),
30
- outputs=gr.Image(type="pil", label="Screenshot"), # Adjust the image size here
31
  title="Website Screenshot",
32
  description="Take a screenshot of a website."
33
  )
 
26
 
27
  iface = gr.Interface(
28
  fn=take_screenshot,
29
+ inputs=gr.Textbox(label="Website URL", value="https://kargaranamir.github.io"),
30
+ outputs=gr.Image(type="pil", label="Screenshot", height=360, width=540), # Adjust the image size here
31
  title="Website Screenshot",
32
  description="Take a screenshot of a website."
33
  )