Spaces:
Running
Running
Download scripts/plot_task3.py from tjhalani/text2sql_final_space: direct link, hf CLI and curl.
- Browser
- Download file 247 Bytes
-
https://huggingface.co/spaces/tjhalani/text2sql_final_space/resolve/main/scripts/plot_task3.py
- Command line
-
hf download hf://spaces/tjhalani/text2sql_final_space/scripts/plot_task3.py
-
curl -L -o plot_task3.py https://huggingface.co/spaces/tjhalani/text2sql_final_space/resolve/main/scripts/plot_task3.py
247 Bytes
| import matplotlib.pyplot as plt | |
| labels = ["Without", "With"] | |
| constraint = [0, 88] | |
| plt.figure() | |
| plt.bar(labels, constraint) | |
| plt.title("Constraint Satisfaction (Task 3)") | |
| plt.ylabel("Percentage") | |
| plt.savefig("task3_constraint.png") | |
| plt.show() | |