ammaan commited on
Commit
a6bfacb
·
verified ·
1 Parent(s): a9cfde5

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -41,7 +41,7 @@ def summarize_text(text):
41
 
42
  return summarized_text[0]['summary_text']
43
  except Exception as e:
44
- return f"An error occurred: {e}"
45
 
46
  # Get the input from the frontend
47
  @app.get("/getdata")
 
41
 
42
  return summarized_text[0]['summary_text']
43
  except Exception as e:
44
+ return e
45
 
46
  # Get the input from the frontend
47
  @app.get("/getdata")