ZeroCommand commited on
Commit
748c85b
1 Parent(s): e631fcc

clean code

Browse files
Files changed (2) hide show
  1. app.py +0 -4
  2. fetch_utils.py +0 -1
app.py CHANGED
@@ -1,7 +1,4 @@
1
 
2
- # Start apps
3
- # from pathlib import Path
4
-
5
  import gradio as gr
6
  import atexit
7
  from app_text_classification import get_demo as get_demo_text_classification
@@ -11,7 +8,6 @@ import threading
11
 
12
  if threading.current_thread() is not threading.main_thread():
13
  t = threading.current_thread()
14
- print(t.do_run)
15
  try:
16
  with gr.Blocks(theme=gr.themes.Soft(primary_hue="green")) as demo:
17
  with gr.Tab("Text Classification"):
 
1
 
 
 
 
2
  import gradio as gr
3
  import atexit
4
  from app_text_classification import get_demo as get_demo_text_classification
 
8
 
9
  if threading.current_thread() is not threading.main_thread():
10
  t = threading.current_thread()
 
11
  try:
12
  with gr.Blocks(theme=gr.themes.Soft(primary_hue="green")) as demo:
13
  with gr.Tab("Text Classification"):
fetch_utils.py CHANGED
@@ -1,4 +1,3 @@
1
- import huggingface_hub
2
  import datasets
3
  import logging
4
 
 
 
1
  import datasets
2
  import logging
3