Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ def chat_with_pdf(content):
|
|
| 16 |
data = {
|
| 17 |
'stream': True,
|
| 18 |
'sourceId': 'src_opPediV0GhSqCEGkOph7S', # Replace with your source ID
|
| 19 |
-
'messages'
|
| 20 |
{
|
| 21 |
'role': "user",
|
| 22 |
'content': content,
|
|
|
|
| 16 |
data = {
|
| 17 |
'stream': True,
|
| 18 |
'sourceId': 'src_opPediV0GhSqCEGkOph7S', # Replace with your source ID
|
| 19 |
+
'messages': [
|
| 20 |
{
|
| 21 |
'role': "user",
|
| 22 |
'content': content,
|