gmshroff commited on
Commit
3866637
1 Parent(s): 778d09e

typo fixed and home message changed

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -9,13 +9,13 @@ import google.generativeai as genai
9
  anvil.server.connect('PLMOIU5VCGGUOJH2XORIBWV3-ZXZVFLWX7QFIIAF4')
10
 
11
  app=Flask(__name__)
12
- MESSAGED={'title':'Script Server',
13
- 'messageL':['script in "script" parameter or field of json input to /run will be run']}
14
 
15
  tokenizer = AutoTokenizer.from_pretrained('allenai/specter')
16
  encoder = AutoModel.from_pretrained('allenai/specter')
17
 
18
- GOOGLE_API_KEY=os.genenv('GOOGLE_API_KEY')
19
  genai.configure(api_key=GOOGLE_API_KEY)
20
 
21
  @anvil.server.callable
 
9
  anvil.server.connect('PLMOIU5VCGGUOJH2XORIBWV3-ZXZVFLWX7QFIIAF4')
10
 
11
  app=Flask(__name__)
12
+ MESSAGED={'title':'API Server',
13
+ 'messageL':['published server functions:','encode(text)', 'call_gemini(text)']}
14
 
15
  tokenizer = AutoTokenizer.from_pretrained('allenai/specter')
16
  encoder = AutoModel.from_pretrained('allenai/specter')
17
 
18
+ GOOGLE_API_KEY=os.getenv('GOOGLE_API_KEY')
19
  genai.configure(api_key=GOOGLE_API_KEY)
20
 
21
  @anvil.server.callable