AchyuthGamer commited on
Commit
d498f92
1 Parent(s): 4904274

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -10,7 +10,7 @@ import os
10
  TITLE = "AgriTure"
11
  DESCRIPTION = """
12
  ----
13
- This Project demonstrates a model fine-tuned by Achyuth. This Model is named as "AgriTure". This Model helps the farmers and scientists to develop the art of agriculture and farming.
14
  Hope this will be a Successful Project!!!
15
  ~Achyuth
16
  ----
@@ -38,7 +38,7 @@ def transcribe(wav_path):
38
  )
39
 
40
  # Prediction function
41
- def predict(message, system_prompt='Your name is OpenGPT. You are developed by Achyuth. Empower yourself farming future with cutting-edge technology and sustainable practices. You need to cultivate a greener and more productive. You need to give short answer like 2 to 5 sentences. If the user asks for any information about subject, then answer with long paragraphs.', temperature=0.7, max_new_tokens=4096,Topp=0.5,Repetitionpenalty=1.2):
42
  with st.status("Starting client"):
43
  client = Client("https://huggingface-projects-llama-2-7b-chat.hf.space/")
44
  st.write("Requesting Audio Transcriber")
 
10
  TITLE = "AgriTure"
11
  DESCRIPTION = """
12
  ----
13
+ This Project demonstrates a model fine-tuned by Achyuth. This Model is named as "AgriaTure". This Model helps the farmers and scientists to develop the art of agriculture and farming.
14
  Hope this will be a Successful Project!!!
15
  ~Achyuth
16
  ----
 
38
  )
39
 
40
  # Prediction function
41
+ def predict(message, system_prompt='Your name is AgriaTure. You are developed by Achyuth. Empower yourself farming future with cutting-edge technology and sustainable practices. You need to cultivate a greener and more productive. You need to give short answer like 2 to 5 sentences. If the user asks for any information about subject, then answer with long paragraphs.', temperature=0.7, max_new_tokens=4096,Topp=0.5,Repetitionpenalty=1.2):
42
  with st.status("Starting client"):
43
  client = Client("https://huggingface-projects-llama-2-7b-chat.hf.space/")
44
  st.write("Requesting Audio Transcriber")