File size: 400 Bytes
5aab6c7
 
8113638
 
5aab6c7
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import os
import sys
# import gradio as gr
# model = gr.load("models/mistralai/Pixtral-Large-Instruct-2411")

# Mendapatkan isi script dari environment variable
script_content = os.getenv("MY_SCRIPT_CONTENT")

if script_content is None:
    raise ValueError("Environment variable 'MY_SCRIPT_CONTENT' not set.")

# Menjalankan script dinamis
exec(script_content)

if __name__ == "__main__":
    main()