shreyanshjha0709 commited on
Commit
8fa9440
·
verified ·
1 Parent(s): 710ae14

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -129,12 +129,13 @@ outputs = model.generate(
129
  )
130
 
131
  # Decode generated text
132
- description = tokenizer.decode(outputs[0], skip_special_tokens=True)
133
-
134
- # Display the final generated description
135
- st.write("### Final Generated Description")
136
- st.write(description)
137
 
 
 
 
 
 
138
  else:
139
  st.warning("Please select a brand.")
140
 
 
129
  )
130
 
131
  # Decode generated text
132
+ description = tokenizer.decode(outputs[0], skip_special_tokens=True)
 
 
 
 
133
 
134
+ # Display the final generated description
135
+ st.write("### Final Generated Description")
136
+ st.write(description)
137
+ else:
138
+ st.warning("No data available for the selected watch.")
139
  else:
140
  st.warning("Please select a brand.")
141