wt002 commited on
Commit
a6da0a6
·
verified ·
1 Parent(s): fbb7a76

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -292,6 +292,7 @@ def transcribe_youtube(youtube_url: str) -> str:
292
  except Exception as e:
293
  return f"Error processing YouTube video: {str(e)}"
294
 
 
295
  @tool
296
  def process_file(task_id: str, file_name: str) -> str:
297
  """
@@ -341,7 +342,7 @@ def process_file(task_id: str, file_name: str) -> str:
341
  return f"File '{file_name}' of type '{mime_type or 'unknown'}' was fetched successfully. Content processing not implemented for this file type."
342
  except Exception as e:
343
  return f"Error processing file: {str(e)}"
344
-
345
 
346
  class BasicAgent:
347
  """
 
292
  except Exception as e:
293
  return f"Error processing YouTube video: {str(e)}"
294
 
295
+ """
296
  @tool
297
  def process_file(task_id: str, file_name: str) -> str:
298
  """
 
342
  return f"File '{file_name}' of type '{mime_type or 'unknown'}' was fetched successfully. Content processing not implemented for this file type."
343
  except Exception as e:
344
  return f"Error processing file: {str(e)}"
345
+ """
346
 
347
  class BasicAgent:
348
  """