Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -97,7 +97,18 @@ with gr.Blocks() as face:
|
|
| 97 |
with gr.Column():
|
| 98 |
script = gr.Textbox(label="Transcribed text")
|
| 99 |
#options = gr.Textbox(label="Predictions")
|
| 100 |
-
options = gr.Dataset(components=[gr.Radio], samples=["One", "Two", "Three", "Four", "Five"])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 101 |
#options = gr.Radio(choices=["One", "Two", "Three", "Four", "Five"])
|
| 102 |
latestConvo = gr.Textbox(label="Running conversation")
|
| 103 |
#transcribe_btn.click(inference)
|
|
|
|
| 97 |
with gr.Column():
|
| 98 |
script = gr.Textbox(label="Transcribed text")
|
| 99 |
#options = gr.Textbox(label="Predictions")
|
| 100 |
+
#options = gr.Dataset(components=[gr.Radio], samples=["One", "Two", "Three", "Four", "Five"])
|
| 101 |
+
gr.Dataset(components=[gr.Textbox(visible=False)],
|
| 102 |
+
label="Text Dataset",
|
| 103 |
+
samples=[
|
| 104 |
+
["The quick brown fox jumps over the lazy dog"],
|
| 105 |
+
["Build & share delightful machine learning apps"],
|
| 106 |
+
["She sells seashells by the seashore"],
|
| 107 |
+
["Supercalifragilisticexpialidocious"],
|
| 108 |
+
["Lorem ipsum"],
|
| 109 |
+
["That's all folks!"]
|
| 110 |
+
],
|
| 111 |
+
)
|
| 112 |
#options = gr.Radio(choices=["One", "Two", "Three", "Four", "Five"])
|
| 113 |
latestConvo = gr.Textbox(label="Running conversation")
|
| 114 |
#transcribe_btn.click(inference)
|