Spaces:
Runtime error
Runtime error
Ryan Sandagon
commited on
Commit
•
c7a075d
1
Parent(s):
3a4df53
remove image
Browse files
app.py
CHANGED
@@ -50,13 +50,12 @@ with demo:
|
|
50 |
gr.Markdown(
|
51 |
"<div>Hi I'm Twimbly Twombly ready to talk to you.</div>"
|
52 |
)
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
output_image = gr.Image(type="filepath", shape=(256,256))
|
57 |
|
58 |
b1 = gr.Button("Send")
|
59 |
-
b2 = gr.Button("Imagine")
|
60 |
|
61 |
b1.click(chat_generate, input_word, chat_txt)
|
62 |
#b2.click(text_to_image, chat_txt, output_image)
|
|
|
50 |
gr.Markdown(
|
51 |
"<div>Hi I'm Twimbly Twombly ready to talk to you.</div>"
|
52 |
)
|
53 |
+
input_word = gr.Textbox(placeholder="Enter a word here to chat..")
|
54 |
+
chat_txt = gr.Textbox(lines=1)
|
55 |
+
# output_image = gr.Image(type="filepath", shape=(256,256))
|
|
|
56 |
|
57 |
b1 = gr.Button("Send")
|
58 |
+
#b2 = gr.Button("Imagine")
|
59 |
|
60 |
b1.click(chat_generate, input_word, chat_txt)
|
61 |
#b2.click(text_to_image, chat_txt, output_image)
|