Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,4 +6,6 @@ my_pipeline = pipeline(model=mdl_name, return_all_scores=True)
|
|
6 |
def get_text(text):
|
7 |
response = my_pipeline(text)
|
8 |
return response
|
9 |
-
|
|
|
|
|
|
6 |
def get_text(text):
|
7 |
response = my_pipeline(text)
|
8 |
return response
|
9 |
+
|
10 |
+
grad.Interface(get_text, inputs=gr.Textbox(lines=2, placeholder="Name Here..."),
|
11 |
+
outputs="text").launch()
|