Nuno-Tome commited on
Commit
2b6ad91
1 Parent(s): 9d8556e
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -4,7 +4,9 @@ import json
4
  DEBUG_MODE = False
5
 
6
  def echo(text, request: gr.Request):
7
- output_text = {"text": text} # Initialize as a dictionary
 
 
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)