Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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()
|