fixed authorization
Browse files
TA.py
CHANGED
@@ -1,3 +1,5 @@
|
|
|
|
|
|
1 |
from prompt import TA_prompt
|
2 |
import re
|
3 |
from utils import generate_response, run_code
|
@@ -54,5 +56,5 @@ if __name__ == "__main__":
|
|
54 |
|
55 |
q = "What is the smallest even prime number?"
|
56 |
# q = "Write the code to find the 1st even prime number"
|
57 |
-
print(solve_ta(q, "
|
58 |
|
|
|
1 |
+
import os
|
2 |
+
|
3 |
from prompt import TA_prompt
|
4 |
import re
|
5 |
from utils import generate_response, run_code
|
|
|
56 |
|
57 |
q = "What is the smallest even prime number?"
|
58 |
# q = "Write the code to find the 1st even prime number"
|
59 |
+
print(solve_ta(q, os.environ.get("HF_TOKEN")))
|
60 |
|