Spaces:
Build error
Build error
RamAnanth1
commited on
Commit
·
ee727f1
1
Parent(s):
9cbb147
Update app.py
Browse files
app.py
CHANGED
@@ -292,13 +292,13 @@ 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
|
298 |
self.image2canny = image2canny()
|
299 |
-
self.canny2image = canny2image(device="cuda
|
300 |
-
self.BLIPVQA = BLIPVQA(device="cuda
|
301 |
-
self.pix2pix = Pix2Pix(device="cuda
|
302 |
self.memory = ConversationBufferMemory(memory_key="chat_history", output_key='output')
|
303 |
self.tools = [
|
304 |
Tool(name="Get Photo Description", func=self.i2t.inference,
|
|
|
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")
|
298 |
self.image2canny = image2canny()
|
299 |
+
self.canny2image = canny2image(device="cuda")
|
300 |
+
self.BLIPVQA = BLIPVQA(device="cuda")
|
301 |
+
self.pix2pix = Pix2Pix(device="cuda")
|
302 |
self.memory = ConversationBufferMemory(memory_key="chat_history", output_key='output')
|
303 |
self.tools = [
|
304 |
Tool(name="Get Photo Description", func=self.i2t.inference,
|