ysharma HF staff commited on
Commit
e04700c
1 Parent(s): 4192a3f

Update app_dialogue.py

Browse files
Files changed (1) hide show
  1. app_dialogue.py +2 -2
app_dialogue.py CHANGED
@@ -91,7 +91,7 @@ def convert_to_rgb_pil(image):
91
 
92
  #temp_file.close()
93
  print(f"# Return the path to the saved image as - {local_path}")
94
- return temp_file_path # Return the path to the saved image
95
 
96
 
97
  def convert_to_rgb(filepath_or_pilimg):
@@ -129,7 +129,7 @@ def convert_to_rgb(filepath_or_pilimg):
129
  #temp_file.close()
130
 
131
  print(f"# Return the path to the saved image as - {local_path}")
132
- return temp_file_path # Return the path to the saved image
133
 
134
  def pil_to_markdown_im(image):
135
  """
 
91
 
92
  #temp_file.close()
93
  print(f"# Return the path to the saved image as - {local_path}")
94
+ return local_path # Return the path to the saved image
95
 
96
 
97
  def convert_to_rgb(filepath_or_pilimg):
 
129
  #temp_file.close()
130
 
131
  print(f"# Return the path to the saved image as - {local_path}")
132
+ return local_path # Return the path to the saved image
133
 
134
  def pil_to_markdown_im(image):
135
  """