Spaces:
Sleeping
Sleeping
| import gradio as gr | |
| def predict(text, request: gr.Request): | |
| query_params = request.query_params | |
| return { | |
| "query_params": query_params | |
| } | |
| gr.Interface(predict, "text", "json").queue().launch() | |