微调样式
This commit is contained in:
		
							parent
							
								
									97879e73ef
								
							
						
					
					
						commit
						1f014779e4
					
				
							
								
								
									
										2
									
								
								main.py
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								main.py
									
									
									
									
									
								
							@ -72,7 +72,7 @@ def main():
 | 
			
		||||
                        clearBtn = gr.Button("清除", variant="secondary", visible=False); clearBtn.style(size="sm")
 | 
			
		||||
                    if ENABLE_AUDIO: 
 | 
			
		||||
                        with gr.Row():
 | 
			
		||||
                            audio_mic = gr.Audio(source="microphone", type="numpy", streaming=True, show_label=False)
 | 
			
		||||
                            audio_mic = gr.Audio(source="microphone", type="numpy", streaming=True, show_label=False).style(container=False)
 | 
			
		||||
                    with gr.Row():
 | 
			
		||||
                        status = gr.Markdown(f"Tip: 按Enter提交, 按Shift+Enter换行。当前模型: {LLM_MODEL} \n {proxy_info}", elem_id="state-panel")
 | 
			
		||||
                with gr.Accordion("基础功能区", open=True, elem_id="basic-panel") as area_basic_fn:
 | 
			
		||||
 | 
			
		||||
@ -82,6 +82,16 @@
 | 
			
		||||
    margin: 1em 2em 1em 0.5em;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* .mic-wrap.svelte-1thnwz {
 | 
			
		||||
 | 
			
		||||
} */
 | 
			
		||||
.block.svelte-mppz8v > .mic-wrap.svelte-1thnwz{
 | 
			
		||||
    justify-content: center;
 | 
			
		||||
    display: flex;
 | 
			
		||||
    padding: 0;
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.codehilite .hll { background-color: #6e7681 }
 | 
			
		||||
.codehilite .c { color: #8b949e; font-style: italic } /* Comment */
 | 
			
		||||
.codehilite .err { color: #f85149 } /* Error */
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user