gnumanth commited on
Commit
9588578
·
verified ·
1 Parent(s): 7407d7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -173,8 +173,7 @@ with gr.Blocks(css="""
173
  ["https://example.com/article"],
174
  ["This is a sample text that needs to be summarized..."],
175
  ],
176
- inputs=input_text genai.configure(api_key=os.getenv('GEMINI_KEY'))
177
- model = genai.GenerativeModel('gemini-1.5-flash')
178
  )
179
 
180
  if __name__ == "__main__":
 
173
  ["https://example.com/article"],
174
  ["This is a sample text that needs to be summarized..."],
175
  ],
176
+ inputs=input_text
 
177
  )
178
 
179
  if __name__ == "__main__":