Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ MODEL_LIST = ["chheplo/Dhenu-2-India-Llama-3.1-8b-Instruct"]
|
|
10 |
HF_TOKEN = os.environ.get("HF_TOKEN", None)
|
11 |
MODEL = os.environ.get("MODEL_ID")
|
12 |
|
13 |
-
TITLE = "<h1><center>Dhenu2-
|
14 |
|
15 |
PLACEHOLDER = """
|
16 |
<center>
|
@@ -107,7 +107,7 @@ with gr.Blocks(css=CSS, theme="gradio/soft") as demo:
|
|
107 |
additional_inputs_accordion=gr.Accordion(label="⚙️ Parameters", open=False, render=False),
|
108 |
additional_inputs=[
|
109 |
gr.Textbox(
|
110 |
-
value="You are an agriculture assistant.",
|
111 |
label="System Prompt",
|
112 |
render=False,
|
113 |
),
|
@@ -157,6 +157,7 @@ with gr.Blocks(css=CSS, theme="gradio/soft") as demo:
|
|
157 |
["How to control black pepper disease through the use of biological control agents in India?"],
|
158 |
["What are the different methods of hybrid seed production and their suitability for small-scale farmers in India?"],
|
159 |
["What are the government subsidies available for pulses farmers in Telangana?"],
|
|
|
160 |
],
|
161 |
cache_examples=False,
|
162 |
)
|
|
|
10 |
HF_TOKEN = os.environ.get("HF_TOKEN", None)
|
11 |
MODEL = os.environ.get("MODEL_ID")
|
12 |
|
13 |
+
TITLE = "<h1><center>KissanAI - Dhenu2-India - Llama-3.1-8b-instruct</center></h1>"
|
14 |
|
15 |
PLACEHOLDER = """
|
16 |
<center>
|
|
|
107 |
additional_inputs_accordion=gr.Accordion(label="⚙️ Parameters", open=False, render=False),
|
108 |
additional_inputs=[
|
109 |
gr.Textbox(
|
110 |
+
value="You are an agriculture assistant in the context of India. Provide precise and actionable response in proper markdown format.",
|
111 |
label="System Prompt",
|
112 |
render=False,
|
113 |
),
|
|
|
157 |
["How to control black pepper disease through the use of biological control agents in India?"],
|
158 |
["What are the different methods of hybrid seed production and their suitability for small-scale farmers in India?"],
|
159 |
["What are the government subsidies available for pulses farmers in Telangana?"],
|
160 |
+
["Suggested paddy varieties in Kerala and Karnataka."],
|
161 |
],
|
162 |
cache_examples=False,
|
163 |
)
|