hra commited on
Commit
662e56c
·
1 Parent(s): a9cba0f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -198,7 +198,7 @@ with gr.Blocks() as demo:
198
  btn = gr.Button("Refresh")
199
  with gr.Row() as row:
200
  with gr.Column():
201
- output_image = gr.components.Image(label="Tech Radar",value='lasttechradar.png')
202
  with gr.Column():
203
  outputMck = gr.Textbox(placeholder=value1, lines=1,label='McKinsey View')
204
  outputBcg = gr.Textbox(placeholder=value2, lines=1,label='BCG View')
 
198
  btn = gr.Button("Refresh")
199
  with gr.Row() as row:
200
  with gr.Column():
201
+ output_image = gr.components.Image(label="Tech Radar",value=open(requests.get('https://storage.googleapis.com/trends_chrome_extension_bucket/lasttechradar.png').content, 'wb').write(img_data))
202
  with gr.Column():
203
  outputMck = gr.Textbox(placeholder=value1, lines=1,label='McKinsey View')
204
  outputBcg = gr.Textbox(placeholder=value2, lines=1,label='BCG View')