pablovela5620 commited on
Commit
a0420e4
·
1 Parent(s): ebf0389

update markdown

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -89,8 +89,6 @@ def predict():
89
  with open(file_path, "w") as f:
90
  f.write(rec.as_html())
91
  iframe = f"""<iframe src="/static/{file_name}" width="950" height="712"></iframe>"""
92
- # link = f'<a href="/static/{file_name}" target="_blank">{file_name}</a>'
93
- # return link, iframe
94
  return iframe
95
 
96
 
@@ -99,7 +97,6 @@ with gr.Blocks() as block:
99
  """
100
  ## Gradio + FastAPI + Static Server
101
  This is a demo of how to use Gradio with FastAPI and a static server.
102
- The Gradio app generates dynamic HTML files and stores them in a static directory. FastAPI serves the static files.
103
  """
104
  )
105
  with gr.Row():
 
89
  with open(file_path, "w") as f:
90
  f.write(rec.as_html())
91
  iframe = f"""<iframe src="/static/{file_name}" width="950" height="712"></iframe>"""
 
 
92
  return iframe
93
 
94
 
 
97
  """
98
  ## Gradio + FastAPI + Static Server
99
  This is a demo of how to use Gradio with FastAPI and a static server.
 
100
  """
101
  )
102
  with gr.Row():