Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ def query(payload):
|
|
10 |
response = requests.post(API_URL, headers=headers, json=payload)
|
11 |
return response.json()
|
12 |
|
13 |
-
def get_model_output():
|
14 |
|
15 |
payload = {
|
16 |
"inputs": input_text
|
|
|
10 |
response = requests.post(API_URL, headers=headers, json=payload)
|
11 |
return response.json()
|
12 |
|
13 |
+
def get_model_output(input_text):
|
14 |
|
15 |
payload = {
|
16 |
"inputs": input_text
|