acecalisto3 commited on
Commit
cdbbaad
·
verified ·
1 Parent(s): 51fbb9d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -189,8 +189,6 @@ class FileProcessor:
189
  logger.error(f"Error processing files: {str(e)}")
190
  return []
191
 
192
- return combined_data
193
-
194
  def _process_zip_file(self, zip_path: str) -> List[Dict]:
195
  """Process ZIP file contents"""
196
  results = []
@@ -288,8 +286,7 @@ def create_interface():
288
  with gr.Tab("File Input"):
289
  file_input = gr.File(
290
  label="Upload text files or ZIP archives",
291
- file_types=[".txt", ".zip", ".md", ".csv", ".json", ".xml"],
292
- multiple=True # Allow multiple file uploads
293
  )
294
 
295
  with gr.Tab("Text Input"):
 
189
  logger.error(f"Error processing files: {str(e)}")
190
  return []
191
 
 
 
192
  def _process_zip_file(self, zip_path: str) -> List[Dict]:
193
  """Process ZIP file contents"""
194
  results = []
 
286
  with gr.Tab("File Input"):
287
  file_input = gr.File(
288
  label="Upload text files or ZIP archives",
289
+ file_types=[".txt", ".zip", ".md", ".csv", ".json", ".xml"]
 
290
  )
291
 
292
  with gr.Tab("Text Input"):