Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -62,9 +62,15 @@ def summarize(link):
|
|
62 |
summary = pipe(f"summarize the following news into bullet points {text}")
|
63 |
return summary
|
64 |
|
65 |
-
demo = gr.interface(fn=summarize, inputs="textbox", outputs="textbox")
|
66 |
|
67 |
-
|
68 |
-
|
69 |
|
70 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
summary = pipe(f"summarize the following news into bullet points {text}")
|
63 |
return summary
|
64 |
|
|
|
65 |
|
66 |
+
demo = gr.Interface(fn=summarize, inputs="text", outputs="json")
|
67 |
+
demo.launch()
|
68 |
|
69 |
+
|
70 |
+
|
71 |
+
|
72 |
+
# demo = gr.interface(fn=summarize, inputs="textbox", outputs="textbox")
|
73 |
+
# if __name__ == "__main__":
|
74 |
+
# demo.launch()
|
75 |
+
|
76 |
+
# # gr.load("models/meta-llama/Llama-3.2-1B").launch()
|