mrSoul7766 commited on
Commit
cf72d63
1 Parent(s): c3b337b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +0 -5
README.md CHANGED
@@ -21,17 +21,12 @@ Introducing AgriQBot 🌾🤖: Embarking on the journey to cultivate knowledge i
21
 
22
  ```python
23
  # Use a pipeline as a high-level helper
24
-
25
  from transformers import pipeline
26
-
27
  pipe = pipeline("text2text-generation", model="mrSoul7766/AgriQBot")
28
-
29
  # Example user query
30
  user_query = "How can I increase the yield of my potato crop?"
31
-
32
  # Generate response
33
  answer = pipe(f"Q: {user_query}", max_length=512)
34
-
35
  # Print the generated answer
36
  print(answer[0]['generated_text'])
37
  ```
 
21
 
22
  ```python
23
  # Use a pipeline as a high-level helper
 
24
  from transformers import pipeline
 
25
  pipe = pipeline("text2text-generation", model="mrSoul7766/AgriQBot")
 
26
  # Example user query
27
  user_query = "How can I increase the yield of my potato crop?"
 
28
  # Generate response
29
  answer = pipe(f"Q: {user_query}", max_length=512)
 
30
  # Print the generated answer
31
  print(answer[0]['generated_text'])
32
  ```