Lookimi commited on
Commit
fc09dbe
1 Parent(s): 5fb1111

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -0
app.py CHANGED
@@ -1,5 +1,16 @@
1
 
 
2
 
 
 
 
 
 
 
 
 
 
 
3
  #changing the code to have a Gradio Blocks App Menu on Huggingface Space prompting the channel URL
4
  #importing the necessary modules
5
  import os
 
1
 
2
+ #
3
 
4
+ Fix these riot errors:
5
+
6
+ Remove the unused keyword argument in Interface:
7
+ gr.Interface(fn=transcript_extract, inputs="textbox", outputs="textbox").launch(share=True)
8
+
9
+ Specify the expected number of arguments for the function "transcript_extract":
10
+ warnings.warn(Expected 0 arguments for function <function transcript_extract at 0x7f3e82e2b280>, received 0)
11
+
12
+ Remove the "share" argument when launching in Spaces:
13
+ gr.Interface(fn=transcript_extract, inputs="textbox", outputs="textbox").launch()
14
  #changing the code to have a Gradio Blocks App Menu on Huggingface Space prompting the channel URL
15
  #importing the necessary modules
16
  import os