TraxDinosaur commited on
Commit
1a05bd6
1 Parent(s): 481299b

Added Changes

Browse files
Files changed (2) hide show
  1. app.py +11 -7
  2. templates/index.html +1 -1
app.py CHANGED
@@ -18,8 +18,8 @@ def home():
18
  auto_javascript = request.form.get('auto-javascript', 'False')
19
  print(f"Automation: {auto_python}, {auto_javascript}")
20
 
21
- auto_Py = "Automation Python" if auto_python == 'True' else ""
22
- auto_Js = "Automation JavaScript" if auto_javascript == 'True' else ""
23
  print(f"Selected Automation: {auto_Py}, {auto_Js}")
24
 
25
  # Web Development Section
@@ -27,8 +27,8 @@ def home():
27
  web_javascript = request.form.get('web-javascript', 'False')
28
  print(f"Web Development: {web_python}, {web_javascript}")
29
 
30
- webDevPy = "Web Development Python" if web_python == 'True' else ""
31
- webDevJs = "Web Development JavaScript" if web_javascript == 'True' else ""
32
  print(f"Selected Web Development: {webDevPy}, {webDevJs}")
33
 
34
 
@@ -39,8 +39,12 @@ def home():
39
 
40
  print(f"{auto_Py, auto_Js, webDevPy, webDevJs}")
41
 
42
- Prompt = f"""From Now You Are A Tech Compnay Named 'GetIntern' Who Wanna Hire A Intern For {auto_Py, auto_Js, webDevPy, webDevJs} To Give InternShip With Proficiency Leval {proficiency}.
43
- I'm {name},I Want Do That Internship.So Give Me A Project To Be Approved In Your Company."""
 
 
 
 
44
  payload = {
45
  "model": "mistralai/Mistral-7B-v0.1",
46
  "messages": [
@@ -71,7 +75,7 @@ def home():
71
  if new_content.endswith(text_to_remove):
72
  content = new_content[:-len(text_to_remove)]
73
  else:
74
- content = new_content
75
 
76
  return render_template("index.html", Result=content)
77
 
 
18
  auto_javascript = request.form.get('auto-javascript', 'False')
19
  print(f"Automation: {auto_python}, {auto_javascript}")
20
 
21
+ auto_Py = "Python Automation" if auto_python == 'True' else ""
22
+ auto_Js = "JavaScript Automation" if auto_javascript == 'True' else ""
23
  print(f"Selected Automation: {auto_Py}, {auto_Js}")
24
 
25
  # Web Development Section
 
27
  web_javascript = request.form.get('web-javascript', 'False')
28
  print(f"Web Development: {web_python}, {web_javascript}")
29
 
30
+ webDevPy = "Python Web Development" if web_python == 'True' else ""
31
+ webDevJs = "JavaScript Web Development" if web_javascript == 'True' else ""
32
  print(f"Selected Web Development: {webDevPy}, {webDevJs}")
33
 
34
 
 
39
 
40
  print(f"{auto_Py, auto_Js, webDevPy, webDevJs}")
41
 
42
+ Prompt = f"""From Now You Are A Tech Compnay Named 'AccioINTERN' Who Wanna Hire A Intern For {auto_Py, auto_Js, webDevPy, webDevJs} To Give InternShip With Proficiency Leval {proficiency}.
43
+ I'm {name},I Want Do That Internship.So Give Me A Project To Be Approved In Your Company.
44
+ Company:GetInternt, Owner:TraxDinosaur, Contact:traxdinosaur.github.io and
45
+ How To Submit Project: First Goto https://s.id/AccioINTERN And Submit Your Github Username,
46
+ After Check Email And Join Invitaion Of AccioINTERN, Then Upload Your Project.That's It."""
47
+
48
  payload = {
49
  "model": "mistralai/Mistral-7B-v0.1",
50
  "messages": [
 
75
  if new_content.endswith(text_to_remove):
76
  content = new_content[:-len(text_to_remove)]
77
  else:
78
+ content = new_content.replace(text_to_remove, "")
79
 
80
  return render_template("index.html", Result=content)
81
 
templates/index.html CHANGED
@@ -4,7 +4,7 @@
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
  <link rel="stylesheet" href="static/index.css">
7
- <title>GetIntern</title>
8
  </head>
9
  <body>
10
  <form class="inter-form" action="/" method="post">
 
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
  <link rel="stylesheet" href="static/index.css">
7
+ <title>AccioINTERN</title>
8
  </head>
9
  <body>
10
  <form class="inter-form" action="/" method="post">