Docfile commited on
Commit
1c19a65
·
verified ·
1 Parent(s): 1eddb8b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -179,8 +179,8 @@ def generate_response(file_path, file_type):
179
  return response.candidates[0].content.parts[0].text.strip()
180
 
181
  except Exception as e:
182
- print(f"Error generating response: {e}")
183
- return f"Error durante el análisis: {str(e)}"
184
 
185
  @app.route('/')
186
  def index():
 
179
  return response.candidates[0].content.parts[0].text.strip()
180
 
181
  except Exception as e:
182
+ print(f"Error generating response: ")
183
+ return f"Error durante el análisis: "
184
 
185
  @app.route('/')
186
  def index():