Spaces:
Runtime error
Runtime error
Commit ·
1a985fc
1
Parent(s): a284da9
Update app.py
Browse files
app.py
CHANGED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import logging
|
| 2 |
+
import sys
|
| 3 |
+
import gradio as gr
|
| 4 |
+
import json
|
| 5 |
+
import subprocess
|
| 6 |
+
|
| 7 |
+
logging.basicConfig(
|
| 8 |
+
format="%(asctime)s - %(levelname)s - %(name)s - %(message)s",
|
| 9 |
+
datefmt="%m/%d/%Y %H:%M:%S",
|
| 10 |
+
handlers=[logging.StreamHandler(sys.stdout)],
|
| 11 |
+
)
|
| 12 |
+
logger = logging.getLogger(__name__)
|
| 13 |
+
logger.setLevel(logging.DEBUG)
|
| 14 |
+
|