Spaces:
Sleeping
Sleeping
Update main.py
Browse files
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
|
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")
|