Spaces:
Running on Zero
Running on Zero
Lord-Raven commited on
Commit ·
7c9073a
1
Parent(s): 1639a6f
Trying to fix REST calls.
Browse files
app.py
CHANGED
|
@@ -67,6 +67,7 @@ def create_sequences(data):
|
|
| 67 |
|
| 68 |
gradio_interface = gradio.Interface(
|
| 69 |
fn = classify,
|
|
|
|
| 70 |
inputs = gradio.Textbox(label="JSON Input"),
|
| 71 |
outputs = gradio.Textbox(label="JSON Output"),
|
| 72 |
title = "Statosphere Backend",
|
|
|
|
| 67 |
|
| 68 |
gradio_interface = gradio.Interface(
|
| 69 |
fn = classify,
|
| 70 |
+
api_name="predict",
|
| 71 |
inputs = gradio.Textbox(label="JSON Input"),
|
| 72 |
outputs = gradio.Textbox(label="JSON Output"),
|
| 73 |
title = "Statosphere Backend",
|