Comments (3)
Hi @Jacoo520 we require all issues to be submitted in English so that the team can understand and debug. Can you please translate the issue and we can reopen? Also can you please provide a standalone minimal code example that we can use to reproduce the issue above? See: https://stackoverflow.com/help/minimal-reproducible-example
from gradio.
嗨,我们要求所有问题都用英语提交,以便团队能够理解和调试。你能翻译一下这个问题,我们可以重新开放吗?另外,您能否提供一个独立的最小代码示例,我们可以用它来重现上述问题?请参见:https://stackoverflow.com/help/minimal-reproducible-example
I'm working on a chat interface to add a drop-down menu, but this drop-down menu is collapsed when it is displayed, I just want the drop-down menu to be displayed in the layout normally, not collapsed by default, and is it possible to put the additional drop-down menu components on top? or can this layout only be done using Blocks?
from gradio.
You can combine Blocks and ChatInterface to get this effect, e.g.
import gradio as gr
with gr.Blocks() as demo:
dropdown = gr.Dropdown(["a", "b"])
gr.ChatInterface(lambda x,y,z:x+z, additional_inputs=dropdown)
demo.launch()
from gradio.
Related Issues (20)
- `TimeoutError: The read operation timed out` in `gradio_client` HOT 7
- Reload mode no longer able to update Interface title/description HOT 2
- Hot reloads break when loading external CSS HOT 6
- Monitor the init loading time in CI
- Variable Name HOT 2
- Gradio website loading error HOT 5
- The module gr.Sketchpad,ImageMask cannot obtain the binary image normally. HOT 1
- Output Error HOT 2
- Allow Gradio apps to take up more (full screen?) width
- Lite started to fail booting up with an installation error of a dependency HOT 1
- Unequal Icon Heights for Different Sized Images in Gradio Input and Image Source Overflowing Container Boundaries
- Rename client methods
- move away from `EventSource` HOT 2
- Change API for streams HOT 1
- How to add audio output to Chatbot HOT 1
- Feature Request/Question: How to access fastapi request object within gradio demo for multiuser auth? HOT 4
- Gradio Client package for NodeJS not connecting to HF Space, but Python one works normally. HOT 11
- Where is the gr.Image.edit() listener and the 'tool' args ? HOT 1
- dataframe can only display the first 15 rows.
- Client-side Image loads very slowly when Automatic1111 is deployed on Azure Kubernetes instance HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gradio.