gmshroff commited on
Commit
c31e0d8
1 Parent(s): 9ee674e

regisered encode_gemini in app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import anvil.server
5
  import pathlib
6
  import textwrap
7
  import import_ipynb
8
- from library import call_gpt, call_gemini
9
  from background_service import BackgroundTaskService
10
 
11
  anvil.server.connect('PLMOIU5VCGGUOJH2XORIBWV3-ZXZVFLWX7QFIIAF4')
@@ -21,6 +21,7 @@ encoder = AutoModel.from_pretrained('allenai/specter')
21
 
22
  anvil.server.callable(call_gpt)
23
  anvil.server.callable(call_gemini)
 
24
 
25
  service=BackgroundTaskService(max_tasks=10)
26
  service.register(call_gpt)
 
5
  import pathlib
6
  import textwrap
7
  import import_ipynb
8
+ from library import call_gpt, call_gemini, encode_gemini
9
  from background_service import BackgroundTaskService
10
 
11
  anvil.server.connect('PLMOIU5VCGGUOJH2XORIBWV3-ZXZVFLWX7QFIIAF4')
 
21
 
22
  anvil.server.callable(call_gpt)
23
  anvil.server.callable(call_gemini)
24
+ anvil.server.callable(encode_gemini)
25
 
26
  service=BackgroundTaskService(max_tasks=10)
27
  service.register(call_gpt)