lorenzoscottb commited on
Commit
e3a0318
Β·
1 Parent(s): 2336086

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -5,7 +5,7 @@ import pandas as pd
5
  path_to_L_model = str(os.environ['path_to_L_model'])
6
  path_to_S_model = str(os.environ['path_to_S_model'])
7
  read_token = str(os.environ['read_token'])
8
-
9
 
10
  languages = pd.read_csv("model_lang.csv", names=["Lang_acr"])
11
 
@@ -49,7 +49,7 @@ interface_model_L = gr.Interface.load(
49
  name=path_to_L_model,
50
  description=description_L,
51
  examples=examples,
52
- title=title,
53
  api_key=read_token,
54
  )
55
 
@@ -57,8 +57,8 @@ interface_model_S = gr.Interface.load(
57
  name=path_to_S_model,
58
  description=description_S,
59
  examples=examples[0],
60
- title=title,
61
- api_key=read_token,
62
  )
63
 
64
  gr.TabbedInterface(
 
5
  path_to_L_model = str(os.environ['path_to_L_model'])
6
  path_to_S_model = str(os.environ['path_to_S_model'])
7
  read_token = str(os.environ['read_token'])
8
+ read_token_ii = str(os.environ['read_token_ii'])
9
 
10
  languages = pd.read_csv("model_lang.csv", names=["Lang_acr"])
11
 
 
49
  name=path_to_L_model,
50
  description=description_L,
51
  examples=examples,
52
+ title="DSA Large Multilingual",
53
  api_key=read_token,
54
  )
55
 
 
57
  name=path_to_S_model,
58
  description=description_S,
59
  examples=examples[0],
60
+ title="DSA Small English Only",
61
+ api_key=read_token_ii,
62
  )
63
 
64
  gr.TabbedInterface(