Spaces:
Paused
Paused
nroggendorff
commited on
Commit
•
690f022
1
Parent(s):
2cd80d0
Update app.py
Browse files
app.py
CHANGED
@@ -6,8 +6,8 @@ oracle = pl("text-classification")
|
|
6 |
def pipe(text: str):
|
7 |
return oracle(text)
|
8 |
|
9 |
-
|
10 |
-
|
11 |
|
12 |
if __name__ == "__main__":
|
13 |
interface.launch()
|
|
|
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()
|