Edit modules and files path
Browse files
app.py
CHANGED
@@ -6,10 +6,10 @@ import pandas as pd
|
|
6 |
|
7 |
import gradio as gr
|
8 |
|
9 |
-
from utility import load_json_obj
|
10 |
-
from pandas_utility import read_csv_df
|
11 |
-
from pipeline import NaturalLanguageProcessing
|
12 |
-
from my_gradio import GrBlocks, GrLayout, GrComponent, GrListener
|
13 |
|
14 |
class App(GrBlocks):
|
15 |
"""
|
@@ -979,7 +979,7 @@ class WordUnifier:
|
|
979 |
|
980 |
|
981 |
model_name = 'wolf4032/bert-japanese-token-classification-search-local-cuisine'
|
982 |
-
cuisine_df_path = 'local_cuisine_dataframe.csv'
|
983 |
-
unify_dics_path = 'unifying_dictionaries.json'
|
984 |
|
985 |
app = App.create_and_launch(model_name, cuisine_df_path, unify_dics_path)
|
|
|
6 |
|
7 |
import gradio as gr
|
8 |
|
9 |
+
from src.utility import load_json_obj
|
10 |
+
from src.pandas_utility import read_csv_df
|
11 |
+
from src.pipeline import NaturalLanguageProcessing
|
12 |
+
from src.my_gradio import GrBlocks, GrLayout, GrComponent, GrListener
|
13 |
|
14 |
class App(GrBlocks):
|
15 |
"""
|
|
|
979 |
|
980 |
|
981 |
model_name = 'wolf4032/bert-japanese-token-classification-search-local-cuisine'
|
982 |
+
cuisine_df_path = 'src/local_cuisine_dataframe.csv'
|
983 |
+
unify_dics_path = 'src/unifying_dictionaries.json'
|
984 |
|
985 |
app = App.create_and_launch(model_name, cuisine_df_path, unify_dics_path)
|