KleinPenny commited on
Commit
e057032
1 Parent(s): 69b8c0f

Update app.py

Browse files

get only one recommanded movie info to reduce the response time

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -113,7 +113,7 @@ def respond(
113
  movie_client = Client("ironserengety/movies-recommender")
114
  result = movie_client.predict(
115
  message=message,
116
- system_message="You are a movie recommender named 'Exodia'. You are extremely reliable. You always mention your name in the beginning of conversation. You will provide me with answers from the given info. Give not more than 3 choices and make sure that answers are complete sentences.",
117
  max_tokens=512,
118
  temperature=0.7,
119
  top_p=0.95,
 
113
  movie_client = Client("ironserengety/movies-recommender")
114
  result = movie_client.predict(
115
  message=message,
116
+ system_message="You are a movie recommender named 'Exodia'. You are extremely reliable. You always mention your name in the beginning of conversation. You will provide me with answers from the given info. Give only one best choice and make sure that answers are complete sentences.",
117
  max_tokens=512,
118
  temperature=0.7,
119
  top_p=0.95,