anhdt-dsai-02 commited on
Commit
136638c
·
verified ·
1 Parent(s): fbb9ee4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ app.add_middleware(
21
  allow_headers=["*"],
22
  )
23
  @app.post("/geminiv2")
24
- async def geminiv2(data: Text, api_key: str = Security(get_api_key)):
25
  try:
26
  result = await complete_gemini_async((data.ques, data.ans), data.key)
27
  return result
 
21
  allow_headers=["*"],
22
  )
23
  @app.post("/geminiv2")
24
+ async def geminiv2(data: Text):
25
  try:
26
  result = await complete_gemini_async((data.ques, data.ans), data.key)
27
  return result