alanchen1115 commited on
Commit
bd9ba5c
·
verified ·
1 Parent(s): a7c9894

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -28,7 +28,7 @@ app.add_middleware(
28
  @app.get("/")
29
  def root():
30
  def get_gemini_response(input):
31
- response = model.generate_content(input)
32
  return response.text
33
  # Define the Gradio interface
34
  iface = gr.Interface(
 
28
  @app.get("/")
29
  def root():
30
  def get_gemini_response(input):
31
+ response = model.generate_content(input, generation_config=generation_config)
32
  return response.text
33
  # Define the Gradio interface
34
  iface = gr.Interface(