RamAnanth1 commited on
Commit
13baf64
1 Parent(s): 4cacdb2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -344,15 +344,15 @@ class ConversationBot:
344
  #Tool(name="Generate Image Condition On Segmentations", func=self.seg2image.inference,
345
  #description="useful when you want to generate a new real image from both the user desciption and segmentations. like: generate a real image of a object or something from this segmentation image, or generate a new real image of a object or something from these segmentations. "
346
  #"The input to this tool should be a comma seperated string of two, representing the image_path and the user description"),
347
- Tool(name="Predict Depth On Image", func=self.image2depth.inference,
348
- description="useful when you want to detect depth of the image. like: generate the depth from this image, or detect the depth map on this image, or predict the depth for this image. "
349
- "The input to this tool should be a string, representing the image_path"),
350
- Tool(name="Generate Image Condition On Depth", func=self.depth2image.inference,
351
- description="useful when you want to generate a new real image from both the user desciption and depth image. like: generate a real image of a object or something from this depth image, or generate a new real image of a object or something from the depth map. "
352
- "The input to this tool should be a comma seperated string of two, representing the image_path and the user description"),
353
- Tool(name="Predict Normal Map On Image", func=self.image2normal.inference,
354
- description="useful when you want to detect norm map of the image. like: generate normal map from this image, or predict normal map of this image. "
355
- "The input to this tool should be a string, representing the image_path"),
356
  #Tool(name="Generate Image Condition On Normal Map", func=self.normal2image.inference,
357
  #description="useful when you want to generate a new real image from both the user desciption and normal map. like: generate a real image of a object or something from this normal map, or generate a new real image of a object or something from the normal map. "
358
  #"The input to this tool should be a comma seperated string of two, representing the image_path and the user description"),
 
344
  #Tool(name="Generate Image Condition On Segmentations", func=self.seg2image.inference,
345
  #description="useful when you want to generate a new real image from both the user desciption and segmentations. like: generate a real image of a object or something from this segmentation image, or generate a new real image of a object or something from these segmentations. "
346
  #"The input to this tool should be a comma seperated string of two, representing the image_path and the user description"),
347
+ #Tool(name="Predict Depth On Image", func=self.image2depth.inference,
348
+ #description="useful when you want to detect depth of the image. like: generate the depth from this image, or detect the depth map on this image, or predict the depth for this image. "
349
+ #"The input to this tool should be a string, representing the image_path"),
350
+ #Tool(name="Generate Image Condition On Depth", func=self.depth2image.inference,
351
+ #description="useful when you want to generate a new real image from both the user desciption and depth image. like: generate a real image of a object or something from this depth image, or generate a new real image of a object or something from the depth map. "
352
+ #"The input to this tool should be a comma seperated string of two, representing the image_path and the user description"),
353
+ #Tool(name="Predict Normal Map On Image", func=self.image2normal.inference,
354
+ #description="useful when you want to detect norm map of the image. like: generate normal map from this image, or predict normal map of this image. "
355
+ #"The input to this tool should be a string, representing the image_path"),
356
  #Tool(name="Generate Image Condition On Normal Map", func=self.normal2image.inference,
357
  #description="useful when you want to generate a new real image from both the user desciption and normal map. like: generate a real image of a object or something from this normal map, or generate a new real image of a object or something from the normal map. "
358
  #"The input to this tool should be a comma seperated string of two, representing the image_path and the user description"),