AlvinSiang commited on
Commit
2b1ba35
·
verified ·
1 Parent(s): e710f89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -40,7 +40,7 @@ function createGradioAnimation() {
40
  }
41
  """
42
 
43
- image = Image.open('background3.png')
44
 
45
  #Resize the image
46
  resized_image = image.resize((150, 50), Image.LANCZOS)
@@ -48,7 +48,7 @@ resized_image = image.resize((150, 50), Image.LANCZOS)
48
  background = image.resize((3000, 700))
49
  with gr.Blocks(js=js,theme=gr.themes.Soft(), css=".gradio-container { max-width: 100%;}") as demo:
50
  with gr.Row():
51
- gr.Image(background, height = 300, interactive = False, show_download_button = False, show_share_button = False)
52
  with gr.Row():
53
  gr.Markdown(
54
  '''
 
40
  }
41
  """
42
 
43
+ image = Image.open('background.png')
44
 
45
  #Resize the image
46
  resized_image = image.resize((150, 50), Image.LANCZOS)
 
48
  background = image.resize((3000, 700))
49
  with gr.Blocks(js=js,theme=gr.themes.Soft(), css=".gradio-container { max-width: 100%;}") as demo:
50
  with gr.Row():
51
+ gr.Image(background, height = 280, interactive = False, show_download_button = False, show_share_button = False)
52
  with gr.Row():
53
  gr.Markdown(
54
  '''