Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -211,7 +211,7 @@ if selected_task :
|
|
| 211 |
if prompt_input:
|
| 212 |
response = getattr(client, task)(input,prompt=prompt_input)
|
| 213 |
else:
|
| 214 |
-
|
| 215 |
elif prompt_input:
|
| 216 |
if context_input is not None:
|
| 217 |
response = getattr(client, task)(question=prompt_input,context=context_input)
|
|
|
|
| 211 |
if prompt_input:
|
| 212 |
response = getattr(client, task)(input,prompt=prompt_input)
|
| 213 |
else:
|
| 214 |
+
response = getattr(client, task)(input)
|
| 215 |
elif prompt_input:
|
| 216 |
if context_input is not None:
|
| 217 |
response = getattr(client, task)(question=prompt_input,context=context_input)
|