mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 08:07:56 +01:00
Add a workaround for GALACTICA on some systems
This commit is contained in:
parent
0ba4095504
commit
b4af319fa2
@ -17,6 +17,10 @@ requests.get = my_get
|
|||||||
import gradio as gr
|
import gradio as gr
|
||||||
requests.get = original_get
|
requests.get = original_get
|
||||||
|
|
||||||
|
# This fixes LaTeX rendering on some systems
|
||||||
|
import matplotlib
|
||||||
|
matplotlib.use('Agg')
|
||||||
|
|
||||||
import importlib
|
import importlib
|
||||||
import io
|
import io
|
||||||
import json
|
import json
|
||||||
|
Loading…
Reference in New Issue
Block a user