Sarath0x8f commited on
Commit
94e2a59
·
verified ·
1 Parent(s): 2bc6831

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -14
app.py CHANGED
@@ -9,7 +9,6 @@ SARATH CHANDRA BANDREDDI
9
  applications. Dedicated to continuous learning and staying updated with the latest industry trends and technologies. Eager to
10
  contribute to innovative software solutions and work collaboratively in a team environment.
11
  ```
12
-
13
  # TECH STACK:
14
  ```
15
  ➢ Languages : Python, Java, JavaScript, C, R
@@ -31,7 +30,6 @@ SARATH CHANDRA BANDREDDI
31
  | 10th Class | Narayana High School | 9.7 | 2018-2019 |
32
  ------------------------------------------------------------------------------------|
33
  ```
34
-
35
  # PROJECTS:
36
  ```
37
  ## FACE RECOGNITION VGGFace (LINK-"kaggle-notebook-link:https://www.kaggle.com/code/sarath02003/face-recognition-using-vggface2") -Individual project [Tensorflow | Keras | OpenCV |Django]:
@@ -56,7 +54,6 @@ SARATH CHANDRA BANDREDDI
56
  advanced features such as user management, complaint registration, and a chatbot assistant. Seamlessly integrated Gemini-Pro
57
  LLM with Google API and introduced face recognition technology for enhanced attendance tracking.
58
  Led the development of a robust and secure Django-based system designed to streamline college resource and access management as part of my End-to-End Project. The platform integrates several key functionalities such as user management, complaint registration, attendance management system, and a chatbot assistant.
59
-
60
  Here are my contribution to the project:
61
  - User Authentication & Security: Developed a comprehensive user authentication system using Django's default authentication and implemented 2-Step Verification (2SV) for password recovery, improving overall system security and reliability. Engineered a single-page application for password recovery with two-step verification, enhancing user convenience.
62
  - Face Recognition Attendance System: Created a one short face recognition model using FaceNet and MTCNN to manage attendance, with a unique feature allowing students to mark their attendance only once per day and within the campus premises. This innovation ensures strict attendance integrity and security.
@@ -87,7 +84,6 @@ SARATH CHANDRA BANDREDDI
87
  Here is the ("notebook link: Object_Segmentation_&_ComparisonObject_Segmentation_&_Comparison.ipynb:https://colab.research.google.com/drive/1cpNEx_u70I26Ex0alZZxoFa47p6fpoDz?usp=sharing")
88
  ```
89
  ```
90
-
91
  #CERTIFICATION:
92
  ```
93
  ➢ Python Programming : Kaggle, SoloLearn, HackerRank, GUVI.
@@ -109,6 +105,7 @@ SARATH CHANDRA BANDREDDI
109
  ```
110
  - LinkedIn:"https://www.linkedin.com/in/sarath-chandra-bandreddi-07393b1aa/"
111
  - MyPortfolio:"https://21bq1a4210.github.io/MyPortfolio-/"
 
112
  ```
113
  ```
114
  '''
@@ -120,9 +117,9 @@ def respond(
120
  message,
121
  history: list[tuple[str, str]],
122
  system_message,
123
- max_tokens=512,
124
- temperature=0.7,
125
- top_p=.95,
126
  ):
127
  # System message defining assistant behavior
128
  system_message = {
@@ -165,12 +162,12 @@ def respond(
165
  # Gradio interface with additional sliders for control
166
  demo = gr.ChatInterface(
167
  respond,
168
- # additional_inputs=[
169
- # gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
170
- # gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
171
- # gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
172
- # gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p (nucleus sampling)"),
173
- # ],
174
  )
175
 
176
  if __name__ == "__main__":
@@ -239,4 +236,4 @@ if __name__ == "__main__":
239
 
240
 
241
  # if __name__ == "__main__":
242
- # demo.launch()
 
9
  applications. Dedicated to continuous learning and staying updated with the latest industry trends and technologies. Eager to
10
  contribute to innovative software solutions and work collaboratively in a team environment.
11
  ```
 
12
  # TECH STACK:
13
  ```
14
  ➢ Languages : Python, Java, JavaScript, C, R
 
30
  | 10th Class | Narayana High School | 9.7 | 2018-2019 |
31
  ------------------------------------------------------------------------------------|
32
  ```
 
33
  # PROJECTS:
34
  ```
35
  ## FACE RECOGNITION VGGFace (LINK-"kaggle-notebook-link:https://www.kaggle.com/code/sarath02003/face-recognition-using-vggface2") -Individual project [Tensorflow | Keras | OpenCV |Django]:
 
54
  advanced features such as user management, complaint registration, and a chatbot assistant. Seamlessly integrated Gemini-Pro
55
  LLM with Google API and introduced face recognition technology for enhanced attendance tracking.
56
  Led the development of a robust and secure Django-based system designed to streamline college resource and access management as part of my End-to-End Project. The platform integrates several key functionalities such as user management, complaint registration, attendance management system, and a chatbot assistant.
 
57
  Here are my contribution to the project:
58
  - User Authentication & Security: Developed a comprehensive user authentication system using Django's default authentication and implemented 2-Step Verification (2SV) for password recovery, improving overall system security and reliability. Engineered a single-page application for password recovery with two-step verification, enhancing user convenience.
59
  - Face Recognition Attendance System: Created a one short face recognition model using FaceNet and MTCNN to manage attendance, with a unique feature allowing students to mark their attendance only once per day and within the campus premises. This innovation ensures strict attendance integrity and security.
 
84
  Here is the ("notebook link: Object_Segmentation_&_ComparisonObject_Segmentation_&_Comparison.ipynb:https://colab.research.google.com/drive/1cpNEx_u70I26Ex0alZZxoFa47p6fpoDz?usp=sharing")
85
  ```
86
  ```
 
87
  #CERTIFICATION:
88
  ```
89
  ➢ Python Programming : Kaggle, SoloLearn, HackerRank, GUVI.
 
105
  ```
106
  - LinkedIn:"https://www.linkedin.com/in/sarath-chandra-bandreddi-07393b1aa/"
107
  - MyPortfolio:"https://21bq1a4210.github.io/MyPortfolio-/"
108
+ -
109
  ```
110
  ```
111
  '''
 
117
  message,
118
  history: list[tuple[str, str]],
119
  system_message,
120
+ max_tokens,
121
+ temperature,
122
+ top_p,
123
  ):
124
  # System message defining assistant behavior
125
  system_message = {
 
162
  # Gradio interface with additional sliders for control
163
  demo = gr.ChatInterface(
164
  respond,
165
+ additional_inputs=[
166
+ gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
167
+ gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
168
+ gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
169
+ gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p (nucleus sampling)"),
170
+ ],
171
  )
172
 
173
  if __name__ == "__main__":
 
236
 
237
 
238
  # if __name__ == "__main__":
239
+ # demo.launch()