mirror of
https://github.com/kristoferssolo/grovers-visualizer.git
synced 2025-10-21 20:10:35 +00:00
fix: main function call
This commit is contained in:
parent
81f71571cb
commit
553bf667e5
@ -73,7 +73,3 @@ def run_cli(args: Args) -> None:
|
||||
|
||||
fig.canvas.mpl_disconnect(cid)
|
||||
plt.ioff()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
@ -17,3 +17,7 @@ def main() -> None:
|
||||
run_dpg_ui(args)
|
||||
else:
|
||||
run_cli(args)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user