Spaces:
Build error
Build error
managing token limit
Browse files
app.py
CHANGED
|
@@ -132,7 +132,7 @@ def on_submit(symptoms_text, history):
|
|
| 132 |
yield history, None, "\n".join(log)
|
| 133 |
|
| 134 |
# Call LLM
|
| 135 |
-
response = llm
|
| 136 |
raw = response
|
| 137 |
# Extract text from CompletionResponse if needed
|
| 138 |
if hasattr(raw, "text"):
|
|
|
|
| 132 |
yield history, None, "\n".join(log)
|
| 133 |
|
| 134 |
# Call LLM
|
| 135 |
+
response = llm(prompt=prompt)
|
| 136 |
raw = response
|
| 137 |
# Extract text from CompletionResponse if needed
|
| 138 |
if hasattr(raw, "text"):
|