Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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=open(requests.get('https://storage.googleapis.com/trends_chrome_extension_bucket/lasttechradar.png').content
|
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('lasttechradar.png', 'wb').write(requests.get('https://storage.googleapis.com/trends_chrome_extension_bucket/lasttechradar.png').content))
|
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')
|