clarice7 commited on
Commit
9dd2087
·
verified ·
1 Parent(s): b601e7d

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -21,8 +21,6 @@ user_agents = dataset['train'].to_pandas()
21
  user_agents = user_agents.iloc[:,1:]
22
  user_batch = user_agents[:10]
23
 
24
- print(user_batch)
25
-
26
  def create_description(row):
27
  description = (
28
  f"Imagine that you are currently {int(row['age'])} years old. You have {int(row['num_pets'])} pets "
@@ -121,4 +119,4 @@ demo = gr.Interface(fn=simulate,
121
  )
122
 
123
  if __name__ == "__main__":
124
- demo.launch(enable_queue=False)
 
21
  user_agents = user_agents.iloc[:,1:]
22
  user_batch = user_agents[:10]
23
 
 
 
24
  def create_description(row):
25
  description = (
26
  f"Imagine that you are currently {int(row['age'])} years old. You have {int(row['num_pets'])} pets "
 
119
  )
120
 
121
  if __name__ == "__main__":
122
+ demo.launch()