Spaces:
Paused
Paused
nroggendorff
commited on
Commit
•
f6874ea
1
Parent(s):
690f022
Update app.py
Browse files
app.py
CHANGED
@@ -6,8 +6,6 @@ oracle = pl("text-classification")
|
|
6 |
def pipe(text: str):
|
7 |
return oracle(text)
|
8 |
|
9 |
-
|
10 |
-
interface = gr.Interface(pipe, gr.Textbox(label="Prompt"), gr.Textbox(label="Response"), title="Text Classifier")
|
11 |
-
|
12 |
if __name__ == "__main__":
|
|
|
13 |
interface.launch()
|
|
|
6 |
def pipe(text: str):
|
7 |
return oracle(text)
|
8 |
|
|
|
|
|
|
|
9 |
if __name__ == "__main__":
|
10 |
+
interface = gr.Interface(pipe, gr.Textbox(label="Prompt"), gr.Textbox(label="Response"), title="Text Classifier")
|
11 |
interface.launch()
|