Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|