Exception handling (#454)
* Update text_generation.py * Update extensions.py
This commit is contained in:
parent
a90f507abe
commit
75a7a84ef2
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
import traceback
|
||||
|
||||
import gradio as gr
|
||||
|
||||
import extensions
|
||||
|
@ -17,6 +19,7 @@ def load_extensions():
|
|||
print('Ok.')
|
||||
except:
|
||||
print('Fail.')
|
||||
traceback.print_exc()
|
||||
|
||||
# This iterator returns the extensions in the order specified in the command-line
|
||||
def iterator():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue