Spaces:
				
			
			
	
			
			
		Build error
		
	
	
	
			
			
	
	
	
	
		
		
		Build error
		
	Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -143,10 +143,12 @@ def react(input, language): | |
| 143 | 
             
                agent_executor = AgentExecutor(agent=agent, tools=tools, verbose=True, handle_parsing_errors=True)
         | 
| 144 | 
             
                result = agent_executor.invoke({"input": input})
         | 
| 145 | 
             
                return result['output'], ori_result
         | 
|  | |
| 146 |  | 
| 147 | 
             
            with gr.Blocks(css=css1) as demo:
         | 
| 148 | 
            -
                gr.Markdown(
         | 
| 149 | 
            -
             | 
|  | |
| 150 | 
             
                with gr.Row():
         | 
| 151 | 
             
                    with gr.Column(scale=2):
         | 
| 152 | 
             
                        chatbot = gr.Chatbot(elem_classes="gradio-output")
         | 
|  | |
| 143 | 
             
                agent_executor = AgentExecutor(agent=agent, tools=tools, verbose=True, handle_parsing_errors=True)
         | 
| 144 | 
             
                result = agent_executor.invoke({"input": input})
         | 
| 145 | 
             
                return result['output'], ori_result
         | 
| 146 | 
            +
            title = "# 虚假信息检测"
         | 
| 147 |  | 
| 148 | 
             
            with gr.Blocks(css=css1) as demo:
         | 
| 149 | 
            +
                # gr.Markdown(
         | 
| 150 | 
            +
                #     "<h1 style='font-size: 36px; text-align: center; color: #333333; margin-bottom: 20px;'>虚假信息检测</h1>")
         | 
| 151 | 
            +
                gr.Markdown(title, elem_id="title")
         | 
| 152 | 
             
                with gr.Row():
         | 
| 153 | 
             
                    with gr.Column(scale=2):
         | 
| 154 | 
             
                        chatbot = gr.Chatbot(elem_classes="gradio-output")
         |