Spaces:
Runtime error
Runtime error
Update page3.py
Browse files
page3.py
CHANGED
@@ -1,15 +1,26 @@
|
|
1 |
import streamlit as st
|
|
|
|
|
|
|
2 |
|
3 |
-
|
|
|
|
|
4 |
|
|
|
|
|
5 |
import time
|
|
|
6 |
import os
|
7 |
|
8 |
-
def
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
|
|
|
|
|
|
|
1 |
import streamlit as st
|
2 |
+
import requests
|
3 |
+
import io
|
4 |
+
from PIL import Image
|
5 |
|
6 |
+
# Заголовок и описание
|
7 |
+
st.title("Stable Diffusion Demo")
|
8 |
+
st.write("This is a demo of the Stable Diffusion model.")
|
9 |
|
10 |
+
# Функция для запроса к API модели
|
11 |
+
import streamlit as st
|
12 |
import time
|
13 |
+
import random
|
14 |
import os
|
15 |
|
16 |
+
def text():
|
17 |
+
st.title("Home of ForgeStudio")
|
18 |
+
st.markdown("""
|
19 |
+
## About
|
20 |
+
This is modern webui for new AI types.
|
21 |
+
|
22 |
+
## How to use
|
23 |
+
In the navigate menu there is options of AI types.
|
24 |
+
|
25 |
+
### Build by [@ehristoforu](https://github.com/ehristoforu)
|
26 |
+
""")
|