I wrote this very simple script
<code>import requests
import gradio as gr
import json
def chat_response(message, history, response_limit):
return f"You wrote: {message} and asked {response_limit}"
with gr.Blocks() as demo:
gr.Markdown("# Data Query!")
with gr.Row():
with gr.Column(scale=3):
response_limit = gr.Number(label="Response Limit", value=10, interactive=True)
with gr.Column(scale=7):
chat = gr.ChatInterface(fn=chat_response,additional_inputs=[response_limit])
demo.launch()
</code>
<code>import requests
import gradio as gr
import json
def chat_response(message, history, response_limit):
return f"You wrote: {message} and asked {response_limit}"
with gr.Blocks() as demo:
gr.Markdown("# Data Query!")
with gr.Row():
with gr.Column(scale=3):
response_limit = gr.Number(label="Response Limit", value=10, interactive=True)
with gr.Column(scale=7):
chat = gr.ChatInterface(fn=chat_response,additional_inputs=[response_limit])
demo.launch()
</code>
import requests
import gradio as gr
import json
def chat_response(message, history, response_limit):
return f"You wrote: {message} and asked {response_limit}"
with gr.Blocks() as demo:
gr.Markdown("# Data Query!")
with gr.Row():
with gr.Column(scale=3):
response_limit = gr.Number(label="Response Limit", value=10, interactive=True)
with gr.Column(scale=7):
chat = gr.ChatInterface(fn=chat_response,additional_inputs=[response_limit])
demo.launch()
with this I got something like
Do you notice the huge blank space below the chat and how small the window for the chat is?
I would like the chat space to extend all the way to the bottom (or if I put something else below, for all the elements in the column to ocuppy the whole screen
How can I do this?