qgyd2021 commited on
Commit
4289f95
1 Parent(s): 0ed61ba

[update]add 三国演义.txt

Browse files
Files changed (1) hide show
  1. main.py +2 -0
main.py CHANGED
@@ -157,6 +157,8 @@ def click_list_file(openai_api_key: str):
157
 
158
  def click_delete_file(openai_api_key: str,
159
  file_id: str) -> str:
 
 
160
  logger.info("click delete file, file_id: {}".format(file_id))
161
 
162
  client = OpenAI(
 
157
 
158
  def click_delete_file(openai_api_key: str,
159
  file_id: str) -> str:
160
+ file_id = file_id.strip()
161
+
162
  logger.info("click delete file, file_id: {}".format(file_id))
163
 
164
  client = OpenAI(