Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ with gr.Blocks() as demo:
|
|
| 22 |
|
| 23 |
def bot(history):
|
| 24 |
if "read query" in history[-1][0]:
|
| 25 |
-
bot_message = f"
|
| 26 |
else:
|
| 27 |
bot_message = random.choice(["Yes", "No"])
|
| 28 |
history[-1][1] = bot_message
|
|
|
|
| 22 |
|
| 23 |
def bot(history):
|
| 24 |
if "read query" in history[-1][0]:
|
| 25 |
+
bot_message = f"```{json.dumps(url_params, indent=4)}```"
|
| 26 |
else:
|
| 27 |
bot_message = random.choice(["Yes", "No"])
|
| 28 |
history[-1][1] = bot_message
|