Skip to content

Commit

Permalink
SideBar Added for history
Browse files Browse the repository at this point in the history
  • Loading branch information
ishaanxgupta committed Jan 16, 2025
2 parents 731e805 + 921717b commit b9c7ea4
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ backend/tokenizers
backend/sample_input.py
extension/pdfjs-3.9.179-dist
backend/s2v_old
<<<<<<< HEAD
_pycache_/
=======
__pycache__/
>>>>>>> 921717bd20401a9c54dc748b4c3a252aa7823fae
*.pyc
extension/dist
extension/node_modules
Expand Down
13 changes: 13 additions & 0 deletions backend/service_account_key.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"type": "service_account",
"project_id": "your-project-id",
"private_key_id": "your-private-key-id",
"private_key": "-----BEGIN PRIVATE KEY-----\nYOUR_PRIVATE_KEY_HERE\n-----END PRIVATE KEY-----\n",
"client_email": "[email protected]",
"client_id": "your-client-id",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/your-client-email%40your-project-id.iam.gserviceaccount.com",
"universe_domain": "googleapis.com"
}
1 change: 1 addition & 0 deletions eduaid_web/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
REACT_APP_BASE_URL=http://localhost:5000
4 changes: 2 additions & 2 deletions eduaid_web/src/pages/Text_Input.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { FaClipboard } from "react-icons/fa";
import Switch from "react-switch";
import Loader from "../Utils/Loader";

const Text_Input = (updateText) => {
const Text_Input = () => {
const [text, setText] = useState("");
const [difficulty, setDifficulty] = useState("Easy Difficulty");
const [numQuestions, setNumQuestions] = useState(10);
Expand Down Expand Up @@ -207,7 +207,7 @@ const Text_Input = (updateText) => {
<textarea
className="absolute inset-0 p-8 pt-4 bg-[#83b6cc40] text-xl rounded-2xl outline-none resize-none h-full overflow-y-auto text-white caret-white"
style={{ scrollbarWidth: "none", msOverflowStyle: "none" }}
value={text || updateText}
value={text}
onChange={(e) => setText(e.target.value)}
/>
<style>
Expand Down

0 comments on commit b9c7ea4

Please sign in to comment.