RamAnanth1 commited on
Commit
313437d
·
1 Parent(s): f59e6b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -289,9 +289,9 @@ class BLIPVQA:
289
  return answer
290
 
291
  class ConversationBot:
292
- def __init__(self, api_key):
293
  print("Initializing VisualChatGPT")
294
- self.llm = OpenAI(temperature=0, openai_api_key = api_key)
295
  self.edit = ImageEditing(device="cuda")
296
  self.i2t = ImageCaptioning(device="cuda")
297
  self.t2i = T2I(device="cuda")
 
289
  return answer
290
 
291
  class ConversationBot:
292
+ def __init__(self):
293
  print("Initializing VisualChatGPT")
294
+ self.llm = OpenAI(temperature=0)
295
  self.edit = ImageEditing(device="cuda")
296
  self.i2t = ImageCaptioning(device="cuda")
297
  self.t2i = T2I(device="cuda")