haxerwddle commited on
Commit
a0868e2
·
1 Parent(s): ee4fac6

Model prompt change

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -142,10 +142,10 @@ def analyze_pipeline():
142
  # explanation = explain_recycling(top_label)
143
  info = waste_analization[top_label]
144
  result = (
145
- f"• Recycling type: {info['Recycling type']}"
146
- f"• Disposal: {info['Disposal']}"
147
- f"• Tips: {info['Tips']}"
148
- f"• Extra: {info['Extra']}"
149
  )
150
  return result
151
 
@@ -253,7 +253,7 @@ with gr.Blocks() as demo:
253
  explain_output = gr.Textbox(
254
  label="🧩 Detailed Recycling & Disposal Advice",
255
  elem_id="explainbox",
256
- lines=18
257
  )
258
 
259
  # BUTTON
 
142
  # explanation = explain_recycling(top_label)
143
  info = waste_analization[top_label]
144
  result = (
145
+ f"• Recycling type: {info['Recycling type']}\n"
146
+ f"• Disposal: {info['Disposal']}\n"
147
+ f"• Tips: {info['Tips']}\n"
148
+ f"• Extra: {info['Extra']}\n"
149
  )
150
  return result
151
 
 
253
  explain_output = gr.Textbox(
254
  label="🧩 Detailed Recycling & Disposal Advice",
255
  elem_id="explainbox",
256
+ lines=6
257
  )
258
 
259
  # BUTTON