Sort imports

This commit is contained in:
oobabooga 2023-04-21 17:20:59 -03:00
parent c238ba9532
commit 2dca8bb25e

View File

@ -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