gmshroff commited on
Commit
28a9672
1 Parent(s): 55ae956

removed debugging statements

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. library.ipynb +0 -1
app.py CHANGED
@@ -76,7 +76,7 @@ def reset_service():
76
  @anvil.server.callable
77
  def print_results_table():
78
  global service
79
- print(service.results)
80
 
81
  @app.route('/encode',methods=['GET','POST'])
82
  def encode():
 
76
  @anvil.server.callable
77
  def print_results_table():
78
  global service
79
+ return(service.results)
80
 
81
  @app.route('/encode',methods=['GET','POST'])
82
  def encode():
library.ipynb CHANGED
@@ -22,7 +22,6 @@
22
  "def call_gemini(text,key):\n",
23
  " # response=f'calling gemini with key {key} and text {text}'\n",
24
  " # return response\n",
25
- " print(f'In call_gemini key is {key}')\n",
26
  " genai.configure(api_key=key)\n",
27
  " model = genai.GenerativeModel('gemini-pro')\n",
28
  " try:\n",
 
22
  "def call_gemini(text,key):\n",
23
  " # response=f'calling gemini with key {key} and text {text}'\n",
24
  " # return response\n",
 
25
  " genai.configure(api_key=key)\n",
26
  " model = genai.GenerativeModel('gemini-pro')\n",
27
  " try:\n",