Sort imports
This commit is contained in:
parent
c238ba9532
commit
2dca8bb25e
1 changed files with 1 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue