Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -97,9 +97,9 @@ with gr.Blocks() as face:
|
|
97 |
transcribe_btn = gr.Button(value="Transcribe")
|
98 |
with gr.Column():
|
99 |
script = gr.Textbox(label="Transcribed text")
|
100 |
-
|
101 |
#options = gr.Dataset(components=[gr.Radio], samples=["One", "Two", "Three", "Four", "Five"])
|
102 |
-
options = gr.Dataset(components=[gr.Textbox(visible=False)],
|
103 |
label="Text Dataset",
|
104 |
samples=[
|
105 |
["One"],
|
@@ -108,7 +108,7 @@ with gr.Blocks() as face:
|
|
108 |
["Four"],
|
109 |
["Five"],
|
110 |
],
|
111 |
-
)
|
112 |
#options = gr.Radio(choices=["One", "Two", "Three", "Four", "Five"])
|
113 |
latestConvo = gr.Textbox(label="Running conversation")
|
114 |
#transcribe_btn.click(inference)
|
|
|
97 |
transcribe_btn = gr.Button(value="Transcribe")
|
98 |
with gr.Column():
|
99 |
script = gr.Textbox(label="Transcribed text")
|
100 |
+
options = gr.Textbox(label="Predictions")
|
101 |
#options = gr.Dataset(components=[gr.Radio], samples=["One", "Two", "Three", "Four", "Five"])
|
102 |
+
'''options = gr.Dataset(components=[gr.Textbox(visible=False)],
|
103 |
label="Text Dataset",
|
104 |
samples=[
|
105 |
["One"],
|
|
|
108 |
["Four"],
|
109 |
["Five"],
|
110 |
],
|
111 |
+
)'''
|
112 |
#options = gr.Radio(choices=["One", "Two", "Three", "Four", "Five"])
|
113 |
latestConvo = gr.Textbox(label="Running conversation")
|
114 |
#transcribe_btn.click(inference)
|