umarigan commited on
Commit
b9a9a3d
1 Parent(s): 3f2b399

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -77,7 +77,8 @@ def generate_plot(query, pdf_file):
77
  output_file(temp_file.name)
78
  save(p)
79
  logging.info("Plot saved to file.")
80
- return temp_file.name
 
81
 
82
  def gradio_interface(pdf_file, query):
83
  logging.info("Gradio interface called.")
 
77
  output_file(temp_file.name)
78
  save(p)
79
  logging.info("Plot saved to file.")
80
+ output_file("plot.html")
81
+ return "plot.html" #temp_file.name
82
 
83
  def gradio_interface(pdf_file, query):
84
  logging.info("Gradio interface called.")