prithivMLmods commited on
Commit
6bfe0fd
1 Parent(s): b2f1487

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -17
app.py CHANGED
@@ -1,19 +1,3 @@
1
  import gradio as gr
2
 
3
- # Load the model
4
- model = gr.load("models/prithivMLmods/Rodan-SDXL-Turbo-Art-Generator-Engine")
5
-
6
- # Define a function that will use the loaded model
7
- def generate_art(input_text):
8
- return model(input_text)
9
-
10
- # Create the Gradio interface with the new theme
11
- interface = gr.Interface(
12
- fn=generate_art,
13
- inputs="text",
14
- outputs="image",
15
- theme="xiaobaiyuan/theme_brief" # Set the theme here
16
- )
17
-
18
- # Launch the interface
19
- interface.launch()
 
1
  import gradio as gr
2
 
3
+ gr.load("models/prithivMLmods/Rodan-SDXL-Turbo-Art-Generator-Engine").launch()