Blessin commited on
Commit
56c012f
·
1 Parent(s): 47ad95a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -25,8 +25,6 @@ def generate_improv_scene(api_key):
25
  # Return the desired elements as a tuple
26
  return dialogue, emotion, situation, location, relationship, occupation
27
 
28
- @spaces.use(gr.Interface)
29
-
30
  # Create Gradio UI
31
  iface = gr.Interface(
32
  fn=generate_improv_scene,
@@ -37,4 +35,4 @@ iface = gr.Interface(
37
  description="Generate a random improv scene with dialogue, emotion, situation, location, relationship, and occupation."
38
  )
39
 
40
- iface.launch()
 
25
  # Return the desired elements as a tuple
26
  return dialogue, emotion, situation, location, relationship, occupation
27
 
 
 
28
  # Create Gradio UI
29
  iface = gr.Interface(
30
  fn=generate_improv_scene,
 
35
  description="Generate a random improv scene with dialogue, emotion, situation, location, relationship, and occupation."
36
  )
37
 
38
+ iface.launch()