fudii0921 commited on
Commit
316e4e6
·
verified ·
1 Parent(s): 7098a9e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -69,13 +69,11 @@ def get_top_high_performers(html: str, limit: str):
69
  )
70
 
71
  final = res.message.content[0].text
72
- cursor.close()
73
- conn.close()
74
 
75
  return "\n\n".join(formatted_results),final
76
 
77
  except Exception as e:
78
- return f"Error occurred: {e}"
79
 
80
  # Define Gradio interface
81
  interface = gr.Interface(
 
69
  )
70
 
71
  final = res.message.content[0].text
 
 
72
 
73
  return "\n\n".join(formatted_results),final
74
 
75
  except Exception as e:
76
+ return f"Error occurred: {e}","Error"
77
 
78
  # Define Gradio interface
79
  interface = gr.Interface(