Update app.py
Browse files
app.py
CHANGED
|
@@ -40,7 +40,7 @@ function createGradioAnimation() {
|
|
| 40 |
}
|
| 41 |
"""
|
| 42 |
|
| 43 |
-
image = Image.open('
|
| 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 =
|
| 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 |
'''
|