aexyb commited on
Commit
e87ff71
·
verified ·
1 Parent(s): d83eade

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,4 +1,4 @@
1
- import gradio as gr
2
  import concurrent.futures
3
 
4
  # Load the model into RAM
@@ -14,4 +14,4 @@ with concurrent.futures.ThreadPoolExecutor(max_workers=2) as executor:
14
  # Create a Gradio interface with the loaded model
15
  interface = gr.Interface(fn=interact, inputs="text", outputs="image")
16
  # Handle the interactions with Gradio
17
- interface.launch()
 
1
+ import gradio as gr
2
  import concurrent.futures
3
 
4
  # Load the model into RAM
 
14
  # Create a Gradio interface with the loaded model
15
  interface = gr.Interface(fn=interact, inputs="text", outputs="image")
16
  # Handle the interactions with Gradio
17
+ interface.launch()