File size: 404 Bytes
9778c43
 
 
 
 
 
 
bc7a317
 
 
9778c43
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import gradio as gr
# Import your entry script - adjust this line as per your script's structure
from entry_with_update import create_interface

# Initialize your Gradio interface - this function call will depend on your script
interface = create_interface()

with open('entry_with_update.py', 'r') as file:
    exec(file.read())

# Launch the interface
if __name__ == "__main__":
    interface.launch()