arxivgpt kim commited on
Commit
b7c06b0
·
verified ·
1 Parent(s): 73d145c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -25,10 +25,17 @@ def take_screenshot(url):
25
 
26
  return Image.open(BytesIO(screenshot))
27
 
 
 
 
 
 
 
28
  iface = gr.Interface(
29
  fn=take_screenshot,
30
  inputs=gr.inputs.Textbox(label="Website URL", default="https://www.ycombinator.com/"),
31
  outputs=gr.Image(type="pil", height=540, width=960), # 조정된 이미지 크기
 
32
  )
33
 
34
  iface.launch()
 
25
 
26
  return Image.open(BytesIO(screenshot))
27
 
28
+ css = """
29
+ footer {
30
+ visibility: hidden;
31
+ }
32
+ """
33
+
34
  iface = gr.Interface(
35
  fn=take_screenshot,
36
  inputs=gr.inputs.Textbox(label="Website URL", default="https://www.ycombinator.com/"),
37
  outputs=gr.Image(type="pil", height=540, width=960), # 조정된 이미지 크기
38
+ css=css
39
  )
40
 
41
  iface.launch()