Spaces:
Sleeping
Sleeping
Deploy Myco from GitHub Actions
Browse files- ui/gradio_app.py +2 -0
ui/gradio_app.py
CHANGED
|
@@ -86,6 +86,8 @@ def build_app() -> gr.Blocks:
|
|
| 86 |
with gr.Column(scale=3):
|
| 87 |
chat = gr.Chatbot(value=welcome_history(), label="Myco Chat", height=360)
|
| 88 |
with gr.Row():
|
|
|
|
|
|
|
| 89 |
prompt = gr.Textbox(label="Ask Myco", placeholder="Ask Myco about this mushroom", scale=4)
|
| 90 |
# Keep this as one complete call; the Space imports this file at startup.
|
| 91 |
prompt = gr.Textbox(label="Ask Myco", placeholder="Myco, should I eat this?", scale=4)
|
|
|
|
| 86 |
with gr.Column(scale=3):
|
| 87 |
chat = gr.Chatbot(value=welcome_history(), label="Myco Chat", height=360)
|
| 88 |
with gr.Row():
|
| 89 |
+
textbox_component = gr.Textbox
|
| 90 |
+
prompt = textbox_component(label="Ask Myco", placeholder="Ask Myco about this mushroom", scale=4)
|
| 91 |
prompt = gr.Textbox(label="Ask Myco", placeholder="Ask Myco about this mushroom", scale=4)
|
| 92 |
# Keep this as one complete call; the Space imports this file at startup.
|
| 93 |
prompt = gr.Textbox(label="Ask Myco", placeholder="Myco, should I eat this?", scale=4)
|