diff --git a/server.py b/server.py index 8e3e7c74..bc4f73f4 100644 --- a/server.py +++ b/server.py @@ -17,6 +17,10 @@ requests.get = my_get import gradio as gr requests.get = original_get +# This fixes LaTeX rendering on some systems +import matplotlib +matplotlib.use('Agg') + import importlib import io import json