Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ def get_msg(name, request: gr.Request):
|
|
7 |
header_origin = json.loads(header_origin.replace("'", "\""))['origin']
|
8 |
if header_origin == str(os.environ["ORIGIN"]):
|
9 |
return "Working"
|
10 |
-
return "Hello " + name + "!" + str(header_origin) + " but actual is " + str(os.
|
11 |
|
12 |
with gr.Blocks() as demo:
|
13 |
|
|
|
7 |
header_origin = json.loads(header_origin.replace("'", "\""))['origin']
|
8 |
if header_origin == str(os.environ["ORIGIN"]):
|
9 |
return "Working"
|
10 |
+
return "Hello " + name + "!" + str(header_origin) + " but actual is " + str(os.environ["ORIGIN"])
|
11 |
|
12 |
with gr.Blocks() as demo:
|
13 |
|