Spaces:
Runtime error
Runtime error
Commit
·
e1c15ee
1
Parent(s):
8cdd1fc
Update app.py
Browse files
app.py
CHANGED
|
@@ -41,7 +41,8 @@ def inference(input_sentence, max_length, temperature, greedy_decoding, top_k, t
|
|
| 41 |
data = query(
|
| 42 |
payload
|
| 43 |
)
|
| 44 |
-
|
|
|
|
| 45 |
|
| 46 |
|
| 47 |
gr.Interface(
|
|
|
|
| 41 |
data = query(
|
| 42 |
payload
|
| 43 |
)
|
| 44 |
+
print(data)
|
| 45 |
+
return data[0]
|
| 46 |
|
| 47 |
|
| 48 |
gr.Interface(
|