aexyb commited on
Commit
1d2c609
1 Parent(s): d1efd68

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,6 +12,6 @@ def interact(input):
12
  # Use ThreadPoolExecutor to manage the threads
13
  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()
 
12
  # Use ThreadPoolExecutor to manage the threads
13
  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="text")
16
  # Handle the interactions with Gradio
17
  interface.launch()