Spaces:
Build error
Build error
Shunfeng Zheng
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,5 +4,6 @@ print("Gradio version:", gr.__version__)
|
|
| 4 |
def parse_spatial(text):
|
| 5 |
return f"[Parsed Spatial Info] {text.upper()}"
|
| 6 |
|
| 7 |
-
demo = gr.Interface(fn=parse_spatial, inputs="text", outputs="text"
|
|
|
|
| 8 |
demo.launch(api_name="predict")
|
|
|
|
| 4 |
def parse_spatial(text):
|
| 5 |
return f"[Parsed Spatial Info] {text.upper()}"
|
| 6 |
|
| 7 |
+
demo = gr.Interface(fn=parse_spatial, inputs="text", outputs="text", allow_flagging="never"
|
| 8 |
+
)
|
| 9 |
demo.launch(api_name="predict")
|