Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
import gradio as gr
|
|
|
2 |
|
3 |
def get_msg(name, request: gr.Request):
|
4 |
if dict(request.headers)['origin'] == str(os.environ["ORIGIN"]):
|
|
|
1 |
import gradio as gr
|
2 |
+
import os
|
3 |
|
4 |
def get_msg(name, request: gr.Request):
|
5 |
if dict(request.headers)['origin'] == str(os.environ["ORIGIN"]):
|