Spaces:
Sleeping
Sleeping
done
Browse files
app.py
CHANGED
|
@@ -4,7 +4,9 @@ import json
|
|
| 4 |
DEBUG_MODE = False
|
| 5 |
|
| 6 |
def echo(text, request: gr.Request):
|
| 7 |
-
output_text = {"
|
|
|
|
|
|
|
| 8 |
if request:
|
| 9 |
if DEBUG_MODE:
|
| 10 |
print("Request object:", request)
|
|
|
|
| 4 |
DEBUG_MODE = False
|
| 5 |
|
| 6 |
def echo(text, request: gr.Request):
|
| 7 |
+
output_text = {"report1": SUCCESS} # Initialize as a dictionary
|
| 8 |
+
output_text["report2"] = "You inserted the text: "
|
| 9 |
+
output_text["report3"] = text
|
| 10 |
if request:
|
| 11 |
if DEBUG_MODE:
|
| 12 |
print("Request object:", request)
|