placed the chat_input and chabot outside the gr.Blocks()
Browse files
app.py
CHANGED
@@ -189,12 +189,12 @@ def bot_comms(message, history):
|
|
189 |
buffer += text
|
190 |
yield "".join(gpt_outputs)
|
191 |
|
|
|
|
|
192 |
|
193 |
with gr.Blocks(fill_height=True) as demo:
|
194 |
gr.Markdown(DESCRIPTION)
|
195 |
|
196 |
-
chatbot = gr.Chatbot(height=600, label="Chimera AI")
|
197 |
-
chat_input = gr.MultimodalTextbox(interactive=True, file_types=["images"], placeholder="Enter your question or upload an image.", show_label=False)
|
198 |
# image_output = gr.Image(type="pil", label="Generated Image")
|
199 |
|
200 |
# def process_response(message, history):
|
|
|
189 |
buffer += text
|
190 |
yield "".join(gpt_outputs)
|
191 |
|
192 |
+
chatbot = gr.Chatbot(height=600, label="Chimera AI")
|
193 |
+
chat_input = gr.MultimodalTextbox(interactive=True, file_types=["images"], placeholder="Enter your question or upload an image.", show_label=False)
|
194 |
|
195 |
with gr.Blocks(fill_height=True) as demo:
|
196 |
gr.Markdown(DESCRIPTION)
|
197 |
|
|
|
|
|
198 |
# image_output = gr.Image(type="pil", label="Generated Image")
|
199 |
|
200 |
# def process_response(message, history):
|