Spaces:
Runtime error
Runtime error
Eeman Majumder
commited on
Commit
·
9b2b04c
1
Parent(s):
90bd505
anal
Browse files
app.py
CHANGED
@@ -15,6 +15,7 @@ import re
|
|
15 |
#___________________________________________________________________________________________________________________________
|
16 |
|
17 |
st.title('IMGTEXTA')
|
|
|
18 |
|
19 |
#___________________________________________________________________________________________________________________________
|
20 |
|
@@ -52,7 +53,7 @@ def infer(prompt, width, height, steps, scale, seed):
|
|
52 |
|
53 |
def onclick(prompt):
|
54 |
st.image(infer(prompt,512,512,30,7.5,-1))
|
55 |
-
|
56 |
if prompt==True:
|
57 |
onclick(prompt)
|
58 |
|
|
|
15 |
#___________________________________________________________________________________________________________________________
|
16 |
|
17 |
st.title('IMGTEXTA')
|
18 |
+
prompt=st.text_input('Enter Your Prompt')
|
19 |
|
20 |
#___________________________________________________________________________________________________________________________
|
21 |
|
|
|
53 |
|
54 |
def onclick(prompt):
|
55 |
st.image(infer(prompt,512,512,30,7.5,-1))
|
56 |
+
|
57 |
if prompt==True:
|
58 |
onclick(prompt)
|
59 |
|