Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
|
|
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.")
|