Spaces:
Sleeping
Sleeping
osanseviero
commited on
Commit
•
b1c35ff
1
Parent(s):
173d55b
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ def is_port_in_use(port):
|
|
16 |
|
17 |
def inference(input_text):
|
18 |
req = "http://0.0.0.0:8080?input_text=" + input_text
|
19 |
-
res = requests.get(
|
20 |
st.markdown(f'## Output')
|
21 |
st.write(json.loads(res.text))
|
22 |
|
|
|
16 |
|
17 |
def inference(input_text):
|
18 |
req = "http://0.0.0.0:8080?input_text=" + input_text
|
19 |
+
res = requests.get(req)
|
20 |
st.markdown(f'## Output')
|
21 |
st.write(json.loads(res.text))
|
22 |
|