dominguesm
commited on
Commit
•
0d3100c
1
Parent(s):
11231a5
Reorder Gradio install
Browse files
app.py
CHANGED
@@ -2,6 +2,10 @@ import json
|
|
2 |
import math
|
3 |
import os
|
4 |
|
|
|
|
|
|
|
|
|
5 |
import gradio as gr
|
6 |
import numpy as np
|
7 |
import pandas as pd
|
@@ -12,9 +16,6 @@ from sklearn.model_selection import RandomizedSearchCV
|
|
12 |
from sklearn.naive_bayes import ComplementNB
|
13 |
from sklearn.pipeline import Pipeline
|
14 |
|
15 |
-
os.system("pip uninstall -y gradio")
|
16 |
-
os.system("pip install gradio==3.26.0")
|
17 |
-
|
18 |
|
19 |
CATEGORIES = [
|
20 |
"alt.atheism",
|
|
|
2 |
import math
|
3 |
import os
|
4 |
|
5 |
+
os.system("pip uninstall -y gradio")
|
6 |
+
os.system("pip install gradio==3.26.0")
|
7 |
+
|
8 |
+
|
9 |
import gradio as gr
|
10 |
import numpy as np
|
11 |
import pandas as pd
|
|
|
16 |
from sklearn.naive_bayes import ComplementNB
|
17 |
from sklearn.pipeline import Pipeline
|
18 |
|
|
|
|
|
|
|
19 |
|
20 |
CATEGORIES = [
|
21 |
"alt.atheism",
|