Spaces:
Sleeping
Sleeping
Commit ·
62e2feb
1
Parent(s): 21251fc
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
import fastapi
|
| 3 |
|
| 4 |
-
def echo(request:
|
| 5 |
return request.headers, request.client.host
|
| 6 |
|
| 7 |
with gr.Blocks() as demo:
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
import fastapi
|
| 3 |
|
| 4 |
+
def echo(request: gr.Request):
|
| 5 |
return request.headers, request.client.host
|
| 6 |
|
| 7 |
with gr.Blocks() as demo:
|