Sobit commited on
Commit
01912c0
·
verified ·
1 Parent(s): bb847f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -168,7 +168,7 @@ with gr.Blocks() as demo:
168
  d = gr.DownloadButton("Download Portfolio", visible=False)
169
 
170
  # HTML output preview section (which will be updated with iframe content after file processing)
171
- output_preview = gr.HTML(value="<div style='width:100%; height:600px; border:1px solid #ccc; text-align:center;'>Upload a file to preview the generated portfolio</div>")
172
 
173
  # Connect the upload button to the upload_file function and update the output preview
174
  u.upload(upload_file, u, [output_preview, u, d])
 
168
  d = gr.DownloadButton("Download Portfolio", visible=False)
169
 
170
  # HTML output preview section (which will be updated with iframe content after file processing)
171
+ output_preview = gr.HTML(value="<div style='width:100%; height:600px; border:1px solid #ccc; text-align:center;overflow-y:scroll;'>Upload a file to preview the generated portfolio</div>")
172
 
173
  # Connect the upload button to the upload_file function and update the output preview
174
  u.upload(upload_file, u, [output_preview, u, d])