Spaces:
Runtime error
Runtime error
Pedro Cuenca
commited on
Commit
·
58b9afd
1
Parent(s):
2d6dbdd
Style: run isort.
Browse files- app/streamlit/app.py +1 -1
- app/streamlit/backend.py +3 -2
app/streamlit/app.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
#!/usr/bin/env python
|
2 |
# coding: utf-8
|
3 |
|
4 |
-
import streamlit as st
|
5 |
from datetime import datetime
|
6 |
|
|
|
7 |
from backend import ServiceError, get_images_from_backend, get_model_version
|
8 |
|
9 |
st.sidebar.markdown(
|
|
|
1 |
#!/usr/bin/env python
|
2 |
# coding: utf-8
|
3 |
|
|
|
4 |
from datetime import datetime
|
5 |
|
6 |
+
import streamlit as st
|
7 |
from backend import ServiceError, get_images_from_backend, get_model_version
|
8 |
|
9 |
st.sidebar.markdown(
|
app/streamlit/backend.py
CHANGED
@@ -1,8 +1,9 @@
|
|
1 |
# Client requests to Dalle-Mini Backend server
|
2 |
|
3 |
-
import requests
|
4 |
-
from io import BytesIO
|
5 |
import base64
|
|
|
|
|
|
|
6 |
from PIL import Image
|
7 |
|
8 |
|
|
|
1 |
# Client requests to Dalle-Mini Backend server
|
2 |
|
|
|
|
|
3 |
import base64
|
4 |
+
from io import BytesIO
|
5 |
+
|
6 |
+
import requests
|
7 |
from PIL import Image
|
8 |
|
9 |
|