Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ try:
|
|
34 |
print(f"컬럼: {df.columns}")
|
35 |
except Exception as e:
|
36 |
print(f"Parquet 파일 로드 중 오류 발생: {e}")
|
37 |
-
df = pd.DataFrame(columns=['instruction',
|
38 |
|
39 |
def get_answer(question):
|
40 |
matching_answer = df[df['instruction'] == question]['response b'].values
|
|
|
34 |
print(f"컬럼: {df.columns}")
|
35 |
except Exception as e:
|
36 |
print(f"Parquet 파일 로드 중 오류 발생: {e}")
|
37 |
+
df = pd.DataFrame(columns=['instruction','response b']) # 빈 DataFrame 생성
|
38 |
|
39 |
def get_answer(question):
|
40 |
matching_answer = df[df['instruction'] == question]['response b'].values
|