Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -34,7 +34,9 @@ def process_input(Prompt,choice):
34
  else:
35
  return None , None , generate_image(Prompt)
36
 
37
- with gr.Blocks as demo:
 
 
38
  with gr.Row():
39
  text_input = gr.Textbox()
40
  choice = gr.Radio(choices=["Chat","Music","Image"])
 
34
  else:
35
  return None , None , generate_image(Prompt)
36
 
37
+
38
+ demo = gr.Blocks()
39
+ with demo:
40
  with gr.Row():
41
  text_input = gr.Textbox()
42
  choice = gr.Radio(choices=["Chat","Music","Image"])