mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 08:07:56 +01:00
Sort imports
This commit is contained in:
parent
c238ba9532
commit
2dca8bb25e
@ -1,7 +1,6 @@
|
||||
import os
|
||||
import warnings
|
||||
|
||||
import requests
|
||||
import warnings
|
||||
|
||||
os.environ['GRADIO_ANALYTICS_ENABLED'] = 'False'
|
||||
os.environ['BITSANDBYTES_NOWELCOME'] = '1'
|
||||
@ -16,12 +15,10 @@ def my_get(url, **kwargs):
|
||||
original_get = requests.get
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user