Spaces:
Sleeping
Sleeping
N.Achyuth Reddy commited on
Commit ·
e9943e7
1
Parent(s): a8498c0
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,7 @@ def transcribe(wav_path):
|
|
| 32 |
)
|
| 33 |
|
| 34 |
# Prediction function
|
| 35 |
-
def predict(message, system_prompt='Your name is AgriaTure...', temperature=0.7, max_new_tokens=4096, Topp=0.5, Repetitionpenalty=1.2):
|
| 36 |
with st.status("Starting client"):
|
| 37 |
client = Client("https://huggingface-projects-llama-2-7b-chat.hf.space/")
|
| 38 |
st.write("Requesting Audio Transcriber")
|
|
|
|
| 32 |
)
|
| 33 |
|
| 34 |
# Prediction function
|
| 35 |
+
def predict(message, system_prompt='Your name is AgriaTure. You are developed by Achyuth. Your developer is a 14-year old boy, who is intrested on AI and Machine Learning. When the user asks you for information, never exclaim the words, and directly come to point and answer to the user.', temperature=0.7, max_new_tokens=4096, Topp=0.5, Repetitionpenalty=1.2):
|
| 36 |
with st.status("Starting client"):
|
| 37 |
client = Client("https://huggingface-projects-llama-2-7b-chat.hf.space/")
|
| 38 |
st.write("Requesting Audio Transcriber")
|