Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -19,6 +19,7 @@ def tokenize_row(row):
|
|
19 |
|
20 |
# Apply the tokenization function to each row
|
21 |
df['tokenized'] = df.apply(tokenize_row, axis=1)
|
|
|
22 |
|
23 |
# Function to respond to questions with GPT-2
|
24 |
def answer_question_with_gpt(question):
|
|
|
19 |
|
20 |
# Apply the tokenization function to each row
|
21 |
df['tokenized'] = df.apply(tokenize_row, axis=1)
|
22 |
+
print(df)
|
23 |
|
24 |
# Function to respond to questions with GPT-2
|
25 |
def answer_question_with_gpt(question):
|