satpalsr commited on
Commit
a246097
·
1 Parent(s): 22b9519

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import os
3
 
4
  def get_msg(name, request: gr.Request):
5
  trueorigin = str(os.environ["ORIGIN"])
6
- actualorigin = dict(request.headers)
7
  if actualorigin == trueorigin:
8
  return "Working"
9
  return "Hello " + name + "!" + type(actualorigin)
 
3
 
4
  def get_msg(name, request: gr.Request):
5
  trueorigin = str(os.environ["ORIGIN"])
6
+ actualorigin = request.headers
7
  if actualorigin == trueorigin:
8
  return "Working"
9
  return "Hello " + name + "!" + type(actualorigin)