Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ def search_web(query):
|
|
| 13 |
|
| 14 |
# Make the API call (using positional argument as in working examples)
|
| 15 |
result = client.predict(
|
| 16 |
-
query, # Positional argument
|
| 17 |
api_name="/webSearch"
|
| 18 |
)
|
| 19 |
|
|
|
|
| 13 |
|
| 14 |
# Make the API call (using positional argument as in working examples)
|
| 15 |
result = client.predict(
|
| 16 |
+
prompt=query, # Positional argument
|
| 17 |
api_name="/webSearch"
|
| 18 |
)
|
| 19 |
|