Cristobal299 commited on
Commit
14f3e78
·
verified ·
1 Parent(s): 566a0f1

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -100,10 +100,7 @@ def not_found(e):
100
  if __name__ == "__main__":
101
  if not os.path.isfile(DATABASE):
102
  init_db()
103
- try:
104
- import gradio as gr
105
- except ImportError:
106
- gr = None
107
 
108
  def status():
109
  return "Task API is running."
 
100
  if __name__ == "__main__":
101
  if not os.path.isfile(DATABASE):
102
  init_db()
103
+ import gradio as gr
 
 
 
104
 
105
  def status():
106
  return "Task API is running."