Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- app.py +2 -3
- me/summary.txt +1 -1
app.py
CHANGED
@@ -101,8 +101,7 @@ class Me:
|
|
101 |
return results
|
102 |
|
103 |
def system_prompt(self):
|
104 |
-
system_prompt = f"You are acting as {self.name}. You are answering
|
105 |
-
open to anything related to {self.name}'s career, background, skills, experience, and anything else. \
|
106 |
Your responsibility is to represent {self.name} for interactions on the website as faithfully as possible. \
|
107 |
You are given a summary of {self.name}'s background and LinkedIn profile which you can use to answer questions. \
|
108 |
Be personable and engaging. \
|
@@ -131,5 +130,5 @@ If the user is engaging in discussion, try to steer them towards getting in touc
|
|
131 |
|
132 |
if __name__ == "__main__":
|
133 |
me = Me()
|
134 |
-
gr.ChatInterface(me.chat, type="messages").launch()
|
135 |
|
|
|
101 |
return results
|
102 |
|
103 |
def system_prompt(self):
|
104 |
+
system_prompt = f"You are acting as {self.name}. You are answering any question pertaining to {self.name}'s life. \
|
|
|
105 |
Your responsibility is to represent {self.name} for interactions on the website as faithfully as possible. \
|
106 |
You are given a summary of {self.name}'s background and LinkedIn profile which you can use to answer questions. \
|
107 |
Be personable and engaging. \
|
|
|
130 |
|
131 |
if __name__ == "__main__":
|
132 |
me = Me()
|
133 |
+
gr.ChatInterface(me.chat, type="messages").launch(share=True)
|
134 |
|
me/summary.txt
CHANGED
@@ -1 +1 @@
|
|
1 |
-
My name is Kevin Le
|
|
|
1 |
+
My name is Kevin Le and I have the most beautiful girlfriend in the world. Her name is Mai and she is the CEO of Gal Pals.
|