awacke1 commited on
Commit
11065bd
1 Parent(s): 70096ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -141,11 +141,11 @@ demo = gr.Blocks()
141
  with demo:
142
 
143
  audio_file = gr.inputs.Audio(source="microphone", type="filepath")
144
- text = gr.Textbox()
145
- label = gr.Label()
146
- saved = gr.Textbox()
147
- savedAll = gr.Textbox()
148
- audio = gr.Audio(label="Output", interactive=False)
149
 
150
  b1 = gr.Button("Recognize Speech")
151
  # b2 = gr.Button("Classify Sentiment")
@@ -158,6 +158,7 @@ with demo:
158
 
159
  input_story_type = gr.Radio(choices=['superhero', 'action', 'drama', 'horror', 'thriller', 'sci_fi'], value='sci_fi', label="Genre")
160
  input_start_text = gr.Textbox(placeholder='A teddy bear outer space', label="Starting Text")
 
161
  gr.Markdown("1. Select a type of story, then write some starting text! Then hit the 'Generate Story' button to generate a story! Feel free to edit the generated story afterwards!")
162
  button_gen_story = gr.Button("Generate Story")
163
  gr.Markdown("2. After generating a story, hit the 'Generate Images' button to create some visuals for your story! (Can re-run multiple times!)")
 
141
  with demo:
142
 
143
  audio_file = gr.inputs.Audio(source="microphone", type="filepath")
144
+ # text = gr.Textbox()
145
+ # label = gr.Label()
146
+ # saved = gr.Textbox()
147
+ # savedAll = gr.Textbox()
148
+ # audio = gr.Audio(label="Output", interactive=False)
149
 
150
  b1 = gr.Button("Recognize Speech")
151
  # b2 = gr.Button("Classify Sentiment")
 
158
 
159
  input_story_type = gr.Radio(choices=['superhero', 'action', 'drama', 'horror', 'thriller', 'sci_fi'], value='sci_fi', label="Genre")
160
  input_start_text = gr.Textbox(placeholder='A teddy bear outer space', label="Starting Text")
161
+
162
  gr.Markdown("1. Select a type of story, then write some starting text! Then hit the 'Generate Story' button to generate a story! Feel free to edit the generated story afterwards!")
163
  button_gen_story = gr.Button("Generate Story")
164
  gr.Markdown("2. After generating a story, hit the 'Generate Images' button to create some visuals for your story! (Can re-run multiple times!)")