Upload Qwen_Qwen3-VL-8B-Instruct_0.py with huggingface_hub
Browse files
    	
        Qwen_Qwen3-VL-8B-Instruct_0.py
    CHANGED
    
    | @@ -38,8 +38,7 @@ except Exception as e: | |
| 38 |  | 
| 39 | 
             
                with open('Qwen_Qwen3-VL-8B-Instruct_0.txt', 'a', encoding='utf-8') as f:
         | 
| 40 | 
             
                    import traceback
         | 
| 41 | 
            -
                    f.write('''
         | 
| 42 | 
            -
            ```CODE: 
         | 
| 43 | 
             
            # Use a pipeline as a high-level helper
         | 
| 44 | 
             
            from transformers import pipeline
         | 
| 45 |  | 
| @@ -55,6 +54,7 @@ messages = [ | |
| 55 | 
             
            ]
         | 
| 56 | 
             
            pipe(text=messages)
         | 
| 57 | 
             
            ```
         | 
|  | |
| 58 | 
             
            ERROR: 
         | 
| 59 | 
             
            ''')
         | 
| 60 | 
             
                    traceback.print_exc(file=f)
         | 
|  | |
| 38 |  | 
| 39 | 
             
                with open('Qwen_Qwen3-VL-8B-Instruct_0.txt', 'a', encoding='utf-8') as f:
         | 
| 40 | 
             
                    import traceback
         | 
| 41 | 
            +
                    f.write('''```CODE: 
         | 
|  | |
| 42 | 
             
            # Use a pipeline as a high-level helper
         | 
| 43 | 
             
            from transformers import pipeline
         | 
| 44 |  | 
|  | |
| 54 | 
             
            ]
         | 
| 55 | 
             
            pipe(text=messages)
         | 
| 56 | 
             
            ```
         | 
| 57 | 
            +
             | 
| 58 | 
             
            ERROR: 
         | 
| 59 | 
             
            ''')
         | 
| 60 | 
             
                    traceback.print_exc(file=f)
         | 
