kargaranamir commited on
Commit
87db630
·
verified ·
1 Parent(s): 1ec567c

change v3 to v4.

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