Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -79,9 +79,6 @@ if user_input:
|
|
| 79 |
st.write(f"**Description:** {row['description']}")
|
| 80 |
st.write("---")
|
| 81 |
else:
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
outputs = model.generate(inputs, max_length=100, num_return_sequences=1)
|
| 85 |
-
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
|
| 86 |
-
st.write(f"Chatbot: {response}")
|
| 87 |
|
|
|
|
| 79 |
st.write(f"**Description:** {row['description']}")
|
| 80 |
st.write("---")
|
| 81 |
else:
|
| 82 |
+
st.write("**I have no data about this movie. Please search another movie.**")
|
| 83 |
+
|
|
|
|
|
|
|
|
|
|
| 84 |
|