sdafd commited on
Commit
98e81b7
·
verified ·
1 Parent(s): dd5b022

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -52,6 +52,7 @@ def process_files(files, model_type):
52
 
53
  # Chat submit function
54
  def chat_submit_func(message, files, chat_history, model, temperature, top_p, max_tokens, api_key):
 
55
  client = genai.Client(api_key=api_key)
56
  gen_model = client.models.get(model)
57
 
@@ -104,6 +105,7 @@ def chat_submit_func(message, files, chat_history, model, temperature, top_p, ma
104
 
105
  # Single response submit function
106
  def single_submit_func(prompt, files, model, temperature, top_p, max_tokens, api_key):
 
107
  client = genai.Client(api_key=api_key)
108
  gen_model = client.models.get(model)
109
 
 
52
 
53
  # Chat submit function
54
  def chat_submit_func(message, files, chat_history, model, temperature, top_p, max_tokens, api_key):
55
+ print(model)
56
  client = genai.Client(api_key=api_key)
57
  gen_model = client.models.get(model)
58
 
 
105
 
106
  # Single response submit function
107
  def single_submit_func(prompt, files, model, temperature, top_p, max_tokens, api_key):
108
+ print(model)
109
  client = genai.Client(api_key=api_key)
110
  gen_model = client.models.get(model)
111