Upload app.py with huggingface_hub
Browse files
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 |
-
|
| 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."
|