Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -70,7 +70,7 @@ class FinanceSummary:
|
|
70 |
do_sample=True,
|
71 |
seed=42,
|
72 |
)
|
73 |
-
data = self.to_dataframe(filepath)
|
74 |
formatted_prompt = self.format_prompt(data)
|
75 |
stream = self.client.text_generation(formatted_prompt, **generate_kwargs, stream=True, details=True,
|
76 |
return_full_text=False)
|
|
|
70 |
do_sample=True,
|
71 |
seed=42,
|
72 |
)
|
73 |
+
data = self.to_dataframe(filepath.name)
|
74 |
formatted_prompt = self.format_prompt(data)
|
75 |
stream = self.client.text_generation(formatted_prompt, **generate_kwargs, stream=True, details=True,
|
76 |
return_full_text=False)
|