Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
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(
|
|
|
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()
|