Update app.py
Browse files
app.py
CHANGED
@@ -113,19 +113,14 @@ def gradio_interface():
|
|
113 |
summaries_markdown = "\n---\n".join(summaries) # 要約を水平線で区切る
|
114 |
return summaries_markdown
|
115 |
|
116 |
-
css = """
|
117 |
-
body { background-color: white; }
|
118 |
-
"""
|
119 |
-
|
120 |
iface = gr.Interface(
|
121 |
fn=gradio_interface,
|
122 |
inputs=[],
|
123 |
outputs=gr.Markdown(),
|
124 |
title="Dairy Papers 日本語要約ツール",
|
125 |
description="[Daily Papers](https://huggingface.co/papers)に掲載された論文を日本語で要約します。",
|
126 |
-
css=
|
127 |
)
|
128 |
|
129 |
-
|
130 |
if __name__ == "__main__":
|
131 |
iface.launch()
|
|
|
113 |
summaries_markdown = "\n---\n".join(summaries) # 要約を水平線で区切る
|
114 |
return summaries_markdown
|
115 |
|
|
|
|
|
|
|
|
|
116 |
iface = gr.Interface(
|
117 |
fn=gradio_interface,
|
118 |
inputs=[],
|
119 |
outputs=gr.Markdown(),
|
120 |
title="Dairy Papers 日本語要約ツール",
|
121 |
description="[Daily Papers](https://huggingface.co/papers)に掲載された論文を日本語で要約します。",
|
122 |
+
css=".gradio-container {background-color: white}"
|
123 |
)
|
124 |
|
|
|
125 |
if __name__ == "__main__":
|
126 |
iface.launch()
|